LeetCode Problems
Browse and filter problems by company, difficulty, and topics
Problem | Difficulty | Acceptance | Companies | Topics | Link |
---|---|---|---|---|---|
01 Matrix | MEDIUM | 51.48% | Accenture(38.7%)DoorDash(47.9%)Flipkart(51.6%)+2 more | ArrayDynamic Programming+2 | |
1-bit and 2-bit Characters | EASY | 45.12% | IXL(66.9%)Quora(87.2%) | Array | |
132 Pattern | MEDIUM | 34.06% | IBM(35%)Intuit(56.8%) | ArrayBinary Search+3 | |
2 Keys Keyboard | MEDIUM | 59.09% | Salesforce(33%) | MathDynamic Programming | |
24 Game | HARD | 50.00% | Huawei(61.3%)Roku(87.5%)Uber(50.4%) | ArrayMath+1 | |
3Sum | MEDIUM | 37.07% | AMD(87.5%)Accenture(68.9%)Adobe(78.6%)+63 more | ArrayTwo Pointers+1 | |
3Sum Closest | MEDIUM | 46.89% | Adobe(40.3%)Amazon(42.7%)Apple(21.9%)+9 more | ArrayTwo Pointers+1 | |
3Sum Smaller | MEDIUM | 50.99% | Google(27.5%)PayPal(46.7%) | ArrayTwo Pointers+2 | |
3Sum With Multiplicity | MEDIUM | 45.80% | Quora(87.2%) | ArrayHash Table+3 | |
4Sum | MEDIUM | 38.22% | Adobe(40.3%)Amazon(57.6%)Apple(46.1%)+18 more | ArrayTwo Pointers+1 | |
Abbreviating the Product of a Range | HARD | 24.49% | Avalara(100%) | Math | |
Accounts Merge | MEDIUM | 59.58% | LinkedIn(49.7%)Meta(55.4%)Palantir Technologies(45.4%)+5 more | ArrayHash Table+5 | |
Active Businesses | MEDIUM | 65.90% | Yelp(97.5%) | Database | |
Active Users | MEDIUM | 36.60% | ciena(100%) | Database | |
Activity Participants | MEDIUM | 72.30% | IBM(73.9%) | Database | |
Add Binary | EASY | 55.68% | Adobe(33.9%)Amazon(45.7%)Apple(52.1%)+8 more | MathString+2 | |
Add Bold Tag in String | MEDIUM | 51.00% | Gusto(88.6%)TikTok(53.5%) | ArrayHash Table+3 | |
Add Digits | EASY | 67.91% | American Express(65.8%)Bloomberg(47.6%)Google(30%) | MathSimulation+1 | |
Add Edges to Make Degrees of All Nodes Even | HARD | 33.52% | Hudson River Trading(97.8%) | Hash TableGraph | |
Add Strings | EASY | 51.90% | Airbnb(70.4%)Avito(75%)Capital One(49%)+7 more | MathString+1 | |
Add Two Integers | EASY | 88.12% | Atlassian(30%)Google(53.1%)Jane Street(76.5%)+2 more | Math | |
Add Two Numbers | MEDIUM | 46.23% | Accenture(60.7%)Adobe(70.5%)Airbnb(72.4%)+33 more | Linked ListMath+1 | |
Add Two Numbers II | MEDIUM | 61.75% | Juniper Networks(100%) | Linked ListMath+1 | |
Add to Array-Form of Integer | EASY | 45.07% | Avito(53.8%)ByteDance(48.5%)Zoho(52.5%) | ArrayMath | |
Adding Two Negabinary Numbers | MEDIUM | 36.90% | Grab(100%) | ArrayMath | |
Additive Number | MEDIUM | 32.55% | Epic Systems(100%) | StringBacktracking | |
Advantage Shuffle | MEDIUM | 53.38% | Point72(63.7%) | ArrayTwo Pointers+2 | |
Airplane Seat Assignment Probability | MEDIUM | 66.65% | Microstrategy(100%)Toptal(68.7%) | MathDynamic Programming+2 | |
Alert Using Same Key-Card Three or More Times in a One Hour Period | MEDIUM | 45.87% | Karat(80.2%)Wayfair(92%) | ArrayHash Table+2 | |
Alice and Bob Playing Flower Game | MEDIUM | 45.75% | Rubrik(62.6%) | Math | |
Alien Dictionary | HARD | 36.67% | Airbnb(80.4%)Citadel(45.9%)Meta(35.4%)+10 more | ArrayString+4 | |
All Ancestors of a Node in a Directed Acyclic Graph | MEDIUM | 61.89% | Palantir Technologies(45.4%) | Depth-First SearchBreadth-First Search+2 | |
All Nodes Distance K in Binary Tree | MEDIUM | 66.44% | DE Shaw(39.6%)DP world(87.6%)Flipkart(41.7%)+7 more | Hash TableTree+3 | |
All O`one Data Structure | HARD | 44.13% | Airbnb(44.8%)Atlassian(77.2%)LinkedIn(94.4%)+2 more | Hash TableLinked List+2 | |
All Paths From Source to Target | MEDIUM | 83.12% | Bloomberg(58.9%) | BacktrackingDepth-First Search+2 | |
All Possible Full Binary Trees | MEDIUM | 82.70% | Nvidia(38.4%) | Dynamic ProgrammingTree+3 | |
Alternating Digit Sum | EASY | 68.43% | eBay(95.1%) | Math | |
Alternating Groups I | EASY | 67.69% | Samsara(100%) | ArraySliding Window | |
Alternating Groups II | MEDIUM | 59.88% | Samsara(100%) | ArraySliding Window | |
Amount of Time for Binary Tree to Be Infected | MEDIUM | 63.74% | Flipkart(51.6%)Goldman Sachs(25.5%)Nutanix(54.7%)+5 more | Hash TableTree+3 | |
Analyze User Website Visit Pattern | MEDIUM | 43.73% | Amazon(50.9%)DoorDash(30.9%)Spotify(85.1%)+1 more | ArrayHash Table+1 | |
Angle Between Hands of a Clock | MEDIUM | 64.21% | Epic Systems(65.3%)Siemens(60.4%)UKG(63.3%) | Math | |
Ant on the Boundary | EASY | 73.74% | Accenture(77.6%) | ArraySimulation+1 | |
Apply Bitwise Operations to Make Strings Equal | MEDIUM | 41.72% | Sprinklr(90%) | StringBit Manipulation | |
Apply Operations on Array to Maximize Sum of Squares | HARD | 43.18% | Sprinklr(94.5%) | ArrayHash Table+2 | |
Apply Operations to Make String Empty | MEDIUM | 56.21% | Virtusa(100%) | ArrayHash Table+2 | |
Apply Operations to Make Sum of Array Greater Than or Equal to k | MEDIUM | 43.38% | Turing(57.5%)ZScaler(100%) | MathGreedy+1 | |
Apply Operations to Make Two Strings Equal | MEDIUM | 27.18% | Zeta(100%) | StringDynamic Programming | |
Apply Operations to Maximize Frequency Score | HARD | 36.33% | Deutsche Bank(89.1%)PhonePe(45.1%) | ArrayBinary Search+3 | |
Apply Substitutions | MEDIUM | 78.67% | Google(39%) | ArrayHash Table+5 |