LeetCode-style · Java · Built-in Executor

DSA Problem Bank

Java·Python

Master data structures and algorithms with curated problems, a real Java & Python code editor, and editorial solutions — all in one place.

569Problems
118Easy
372Medium
79Hard
Write real Java
Solve problems in a full Monaco editor with stdin/stdout — just like competitive programming.
Test against cases
Your code runs against visible and hidden test cases. See exactly what passed or failed.
Learn from editorials
Every problem includes a brute force + optimal solution with full explanation.
Aria knows your gaps
Ask Aria to analyse your progress and recommend what to practice next.
569 problemsPage 1 of 57
#TitleDifficulty
1Two Sum
arrayshash map
easyPy
2Best Time to Buy and Sell Stock
arrayssliding window
easyPy
3Contains Duplicate
arrayshash set
easyPy
4
arraysdynamic programming
mediumPy
5
arraysprefix product
mediumPy
6
arraysdynamic programming
mediumPy
7
arraysbinary search
mediumPy
8
arraystwo pointers
mediumPy
9
arraystwo pointers
mediumPy
10
arraystwo pointers
hardPy

Every problem is free to solve. Editorial solutions, hints, video walkthroughs and discussion come with Pro.