Coding interview problems
Solve coding interview problems in JavaScript or Python in your browser: run your code against tests, use hints, then read the full solution.
- 8 problems
- 4 easy · 4 medium · 0 hard
- JavaScript and Python
- Pair with Target SumArrays · Hash mapeasy
- Balanced BracketsStack · Stringseasy
- Palindrome SentenceStrings · Two pointerseasy
- Search a Sorted ArrayBinary search · Arrayseasy
- Maximum Subarray SumArrays · Dynamic programmingmedium
- Longest Substring Without RepeatsStrings · Sliding window · Hash mapmedium
- Group AnagramsStrings · Hash map · Sortingmedium
- Merge Overlapping IntervalsArrays · Sorting · Intervalsmedium
How to practise a coding problem
- Read and plan first. Work out the approach and its time complexity before typing.
- Run the samples. Your code runs in your browser against the example tests.
- Submit. It checks hidden edge cases too, and saves the problem as solved.
- Stuck? Open one hint at a time, and read the full solution only after a real attempt.