DSA Practice
Master algorithms.
Write code, submit tests, see errors, learn the best approach.
6
Easy
3
Medium
0
Hard
9 problems
1
Two Sum
EasyFind two numbers that add up to a target.
ArraysGoogleAmazonMeta
45.2k+ solvedPractice
2
Best Time to Buy and Sell Stock
EasyMaximize profit from a single buy-sell transaction.
ArraysAmazonMicrosoftBloomberg
38.9k+ solvedPractice
3
Maximum Subarray (Kadane)
MediumFind contiguous subarray with largest sum.
ArraysAmazonMicrosoftApple
32.1k+ solvedPractice
4
Valid Parentheses
EasyCheck if brackets are correctly matched.
Stack & QueueGoogleAmazonMeta
41.5k+ solvedPractice
5
Climbing Stairs
EasyWays to climb n stairs taking 1 or 2 steps.
Dynamic ProgrammingAmazonGoogleAdobe
43.8k+ solvedPractice
6
Binary Search
EasySearch a target in a sorted array.
Binary SearchGoogleMetaAmazon
47.2k+ solvedPractice
7
Reverse Linked List Logic
EasyReverse a sequence (array representing linked list).
Linked ListAmazonAppleMicrosoft
40.1k+ solvedPractice
8
Group Anagrams Logic
MediumCount groups of anagrams in a word list.
HashingAmazonUberBloomberg
28.9k+ solvedPractice
9
Number of Islands Count
MediumCount islands in a 0/1 grid (rows as strings).
GraphsAmazonGoogleMicrosoft
31.2k+ solvedPractice