Practice
1948 problems, in the order the course teaches them. Every one runs on a real compiler against real test cases.
Start here
1. Print Hello World
Fundamentals · Foundation
0 / 1948
solved
40 of 1948
Searching & Sorting
0 of 40- Not tried241First Position At Least XCoreno data
- Not tried242How Many Times Does X AppearCoreno data
- Not tried243The Kth Smallest ValueFoundationno data
- Not tried244Pairs That Add UpCoreno data
- Not tried245Merge Two Sorted ArraysFoundationno data
- Not tried246Sort ThemFoundationno data
- Not tried247Count the InversionsChallengeno data
- Not tried248Integer Square RootCoreno data
- Not tried249Second LargestFoundationno data
- Not tried250Remove DuplicatesFoundationno data
- Not tried251Smallest Capacity That WorksChallengeno data
- Not tried252Find a PeakChallengeno data
- Not tried253Search a Rotated ArrayChallengeno data
- Not tried254Sort Zeros, Ones and TwosCoreno data
- Not tried255Merge Overlapping IntervalsChallengeno data
- Not tried256Closest Two ValuesCoreno data
- Not tried257Largest GapFoundationno data
- Not tried258The Majority ElementChallengeno data
- Not tried259Spread Them OutChallengeno data
- Not tried260Allocate the BooksChallengeno data
- Not tried261Where Would It GoFoundationno data
- Not tried262Floor and CeilingCoreno data
- Not tried263Union of Two Sorted ListsCoreno data
- Not tried264Intersection of Two Sorted ListsCoreno data
- Not tried265Fairest SelectionCoreno data
- Not tried266The H IndexChallengeno data
- Not tried267Fewest Swaps to SortChallengeno data
- Not tried268Sort by Distance from ZeroCoreno data
- Not tried269Pairs a Fixed Distance ApartCoreno data
- Not tried270One Swap AwayCoreno data
- Not tried271Is One a Subset of the OtherCoreno data
- Not tried272The Kth Largest ValueFoundationno data
- Not tried273The MedianFoundationno data
- Not tried274Smallest Missing PositiveCoreno data
- Not tried275How Many Fall in the RangeCoreno data
- Not tried276Largest Product of TwoCoreno data
- Not tried277How Many PlatformsChallengeno data
- Not tried278Fit the Most MeetingsChallengeno data
- Not tried279Partition Around a ValueCoreno data
- Not tried280Sort Words by LengthCoreno data