Practice · judged on hidden tests
Problems
54 problems, ordered so each topic builds on the last.
- Not startedBest day to buy and sellDynamic programming, ArraysEasy
- Not startedBinary search on a sorted list someone rotatedArrays, Binary searchMedium
- Not startedBlank out every row and column holding a zeroArrays, MatricesMedium
- Not startedBuilding Pascal's triangle row by rowDynamic programming, Arrays, BasicsEasy
- Not startedCan it be split into two equal halvesDynamic programming, ArraysMedium
- Not startedCan you get to the endGreedy, ArraysMedium
- Not startedCombine the ranges that overlapSorting, Greedy, ArraysMedium
- Not startedContains duplicateArrays, Hash setsEasy
- Not startedEvery subset, in orderBacktracking, ArraysMedium
- Not startedEvery way to make the targetBacktracking, ArraysMedium
- Not startedFind it by halvingArrays, Binary searchEasy
- Not startedFitting the most value into the bagDynamic programming, ArraysMedium
- Not startedHow far the list is from sortedSorting, ArraysHard
- Not startedHow long this price has been the bestArrays, Stacks and queuesMedium
- Not startedHow long until it gets warmerArrays, Stacks and queuesMedium
- Not startedHow many must you dropSorting, Greedy, ArraysMedium
- Not startedHow many triples add to zeroSorting, Arrays, Two pointersMedium
- Not startedHow many ways down through the gridDynamic programming, Arrays, MatricesMedium
- Not startedLongest run of consecutive numbersArrays, Hash setsMedium
- Not startedMaximum subarray sumDynamic programming, ArraysMedium
- Not startedMerging many sorted lists at onceHeaps, Sorting, ArraysHard
- Not startedMost frequent numbersHeaps, Hash maps, SortingMedium
- Not startedMove the zeroes to the endArrays, Two pointersEasy
- Not startedProduct of everything elsePrefix sums, ArraysMedium
- Not startedRead the grid in a spiralArrays, MatricesMedium