practice

All problems

Filter by company or difficulty. Start with the must-dos — they cover the patterns that show up again and again.

showing 40 of 343 matching · 343 in the course · solved 0

  1. 58
    Length of Last Word
    02 Java Arrays & Strings · Bloomberg, Google, Amazon +1
    Easy
  2. 1929
    Concatenation of Array
    02 Java Arrays & Strings · Google, Bloomberg, Amazon +1
    Easy
  3. 1672
    Richest Customer Wealth
    02 Java Arrays & Strings · Google, Microsoft, Meta
    Easy
  4. 1431
    Kids With the Greatest Number of Candies
    02 Java Arrays & Strings · Amazon, Meta, Microsoft
    Easy
  5. 1470
    Shuffle the Array
    02 Java Arrays & Strings · Microsoft, Google, Amazon
    Easy
  6. 387
    First Unique Character in a Stringmust-do
    02 Java Arrays & Strings · Goldman Sachs, Bloomberg, Walmart +2
    Easy
  7. 1512
    Number of Good Pairs
    02 Java Arrays & Strings · Bloomberg, Google, Microsoft
    Easy
  8. 705
    Design HashSet
    03 Java OOP · Amazon
    Easy
  9. 707
    Design Linked List
    03 Java OOP · Microsoft, Amazon
    Medium
  10. 1603
    Design Parking System
    03 Java OOP · Amazon
    Easy
  11. 1480
    Running Sum of 1d Array
    06 Mindset · Google, Amazon, Microsoft +2
    Easy
  12. 412
    Fizz Buzz
    06 Mindset · NVIDIA, Amazon, Bloomberg +3
    Easy
  13. 69
    Sqrt(x)
    07 Big-O · ByteDance / TikTok, Bloomberg, Amazon +3
    Easy
  14. 509
    Fibonacci Numbermust-do
    08 Recursion · TCS, Microsoft, Bloomberg +3
    Easy
  15. 344
    Reverse String
    08 Recursion · TCS, Bloomberg, Amazon +3
    Easy
  16. 24
    Swap Nodes in Pairs
    08 Recursion · Bloomberg, Microsoft, Uber +3
    Medium
  17. 50
    Pow(x, n)must-do
    08 Recursion · Meta, LinkedIn, Bloomberg +3
    Medium
  18. 779
    K-th Symbol in Grammar
    08 Recursion · Google, Goldman Sachs, Microsoft +2
    Medium
  19. 427
    Construct Quad Tree
    08 Recursion · Uber
    Medium
  20. 66
    Plus One
    09 Math & Numbers · Intuit, Google, Amazon +1
    Easy
  21. 9
    Palindrome Number
    09 Math & Numbers · TCS, Infosys, Bloomberg +3
    Easy
  22. 202
    Happy Number
    09 Math & Numbers · Airbnb, Google, Amazon +1
    Easy
  23. 7
    Reverse Integermust-do
    09 Math & Numbers · Bloomberg, Apple, Google +3
    Medium
  24. 172
    Factorial Trailing Zeroes
    09 Math & Numbers · Bloomberg, Microsoft, Amazon
    Medium
  25. 204
    Count Primes
    09 Math & Numbers · Microsoft, Amazon
    Medium
  26. 43
    Multiply Stringsmust-do
    09 Math & Numbers · Meta, Microsoft, Google +1
    Medium
  27. 528
    Random Pick with Weightmust-do
    09 Math & Numbers · Meta, Uber, LinkedIn +2
    Medium
  28. 149
    Max Points on a Line
    09 Math & Numbers · LinkedIn, Apple, Google +2
    Hard
  29. 121
    Best Time to Buy and Sell Stockmust-do
    10 Arrays & Strings · NVIDIA, Bloomberg, Amazon +3
    Easy
  30. 122
    Best Time to Buy and Sell Stock II
    10 Arrays & Strings · Apple, Amazon, Bloomberg +2
    Medium
  31. 53
    Maximum Subarraymust-do
    10 Arrays & Strings · Infosys, LinkedIn, Microsoft +3
    Medium
  32. 918
    Maximum Sum Circular Subarray
    10 Arrays & Strings · Amazon, Google, Microsoft
    Medium
  33. 169
    Majority Elementmust-do
    10 Arrays & Strings · Adobe, Bloomberg, Microsoft +3
    Easy
  34. 238
    Product of Array Except Selfmust-do
    10 Arrays & Strings · PayPal, Uber, Apple +3
    Medium
  35. 242
    Valid Anagrammust-do
    10 Arrays & Strings · Bloomberg, Infosys, TCS +3
    Easy
  36. 49
    Group Anagramsmust-do
    10 Arrays & Strings · Adobe, Walmart, Oracle +3
    Medium
  37. 14
    Longest Common Prefix
    10 Arrays & Strings · Bloomberg, Apple, Google +3
    Easy
  38. 189
    Rotate Array
    10 Arrays & Strings · Apple, Bloomberg, Microsoft +3
    Medium
  39. 31
    Next Permutationmust-do
    10 Arrays & Strings · Meta, Adobe, Bloomberg +3
    Medium
  40. 41
    First Missing Positivemust-do
    10 Arrays & Strings · Netflix, TCS, Amazon +3
    Hard