Practice · judged on hidden tests
Problems
14 problems, ordered so each topic builds on the last.
- Not startedBreak the loop and leave the listLinked lists, Two pointersMedium
- Not startedDoes this list loop back on itselfLinked lists, Two pointersEasy
- Not startedDrop the nth node from the endLinked lists, Two pointersMedium
- Not startedFind the middle in one passLinked lists, Two pointersEasy
- Not startedHow many nodes the loop goes roundLinked lists, Two pointersMedium
- Not startedHow many triples add to zeroArrays, Sorting, Two pointersMedium
- Not startedIs it a palindromeTwo pointers, StringsEasy
- Not startedMove the zeroes to the endArrays, Two pointersEasy
- Not startedSorting 0s, 1s and 2s in one passArrays, Sorting, Two pointersMedium
- Not startedSqueeze out the duplicatesArrays, Two pointersEasy
- Not startedThe widest, deepest containerArrays, Greedy, Two pointersMedium
- Not startedTwo sum in a sorted listArrays, Binary search, Two pointersEasy
- Not startedWater held between the barsArrays, Stacks and queues, Two pointersHard
- Not startedWhere the loop beginsLinked lists, Two pointersMedium