All assessments
Python Sprint

Python Data Structures Sprint

Python data structures: arrays, sets, lists and two-pointer problems.

60 min
Set 1Problems
1Contains DuplicateEasy
2Two SumEasy
3Valid AnagramEasy
4Kth Largest Element in an ArrayMedium

What this assessment covers

Python Data Structures Sprint has 4 sets and 16 coding problems in total: 9 easy and 7 medium. The problems are:

  • Contains Duplicate (easy)
  • Two Sum (easy)
  • Valid Anagram (easy)
  • Kth Largest Element in an Array (medium)
  • Best Time to Buy and Sell Stock (easy)
  • Majority Element (easy)
  • Group Anagrams (medium)
  • Top K Frequent Elements (medium)
  • First Unique Character in a String (easy)
  • Valid Parentheses (easy)
  • Longest Consecutive Sequence (medium)
  • Subarray Sum Equals K (medium)
  • Move Zeroes (easy)
  • Intersection of Two Arrays (easy)
  • Product of Array Except Self (medium)
  • Merge Intervals (medium)

Format

Each set is a separate timed sitting of 60 minutes with 4 problems. Pick a set, start the timer and solve the problems in the browser. When the sitting ends you get your score and a report on how you did, and you can take another set to practise again.