LeetCode-style · Java · Python · JavaScript · Built-in Executor

DSA Problem Bank

Java·Python·JavaScript

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

569Problems
118Easy
372Medium
79Hard
Write real code
Solve in Java, Python or JavaScript 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
easyPyJS
2Best Time to Buy and Sell Stock
arrayssliding window
easyPyJS
3Contains Duplicate
arrayshash set
easyPyJS
4
arraysdynamic programming
mediumPyJS
5
arraysprefix product
mediumPyJS
6
arraysdynamic programming
mediumPyJS
7
arraysbinary search
mediumPyJS
8
arraystwo pointers
mediumPyJS
9
arraystwo pointers
mediumPyJS
10
arraystwo pointers
hardPyJS

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

…