LeetCode problems' solutions.
Problem | Solution |
---|---|
Array Partition | Solution |
Height Checker | Solution |
Maximum Ice Cream Bars | Solution |
Problem | Solution |
---|---|
Find Median from Data Stream | Solution |
Problem | Solution |
---|---|
Customers Who Never Order | N/A |
Delete Duplicate Emails | Solution |
Duplicate Emails | Solution |
Problem | Solution |
---|---|
Data Stream as Disjoint Intervals | Solution |
Design Circular Queue | Solution |
Design Linked List | Solution |
Find Median from Data Stream | Solution |
LFU Cache | Solution |
Min Stack | Solution |
Problem | Solution |
---|---|
Majority Element | Solution |
Maximum Subarray | Solution |
Maximum Sum Circular Subarray | Solution |
Number of 1 Bits | Solution |
Problem | Solution |
---|---|
LFU Cache | Solution |
Problem | Solution |
---|---|
Longest Mountain in Array | Solution |
Problem | Solution |
---|---|
Max Points on a Line | Solution |
Problem | Solution |
---|---|
Car Pooling | Solution |
Cheapest Flights Within K Stops | Solution |
Find Median from Data Stream | Solution |
Sliding Window Median | Solution |
Problem | Solution |
---|---|
First Bad Version | Solution |
Problem | Solution |
---|---|
Snakes and Ladders | Solution |
Spiral Matrix | Solution |
Problem | Solution |
---|---|
Climbing Stairs | Solution |
Fibonacci Number | Solution |
N-th Tribonacci Number | Solution |
Problem | Solution |
---|---|
Maximum Sum Circular Subarray | Solution |
Problem | Solution |
---|---|
Daily Temperatures | Solution |
Shortest Unsorted Continuous Subarray | Solution |
Problem | Solution |
---|---|
Add Digits | Solution |
Smallest Even Multiple | Solution |
Problem | Solution |
---|---|
Data Stream as Disjoint Intervals | Solution |
Problem | Solution |
---|---|
Design Circular Queue | Solution |
First Unique Character in a String | Solution |
Maximum Sum Circular Subarray | Solution |
Problem | Solution |
---|---|
Cheapest Flights Within K Stops | Solution |
Problem | Solution |
---|---|
Add Binary | Solution |
Add Digits | Solution |
Backspace String Compare | Solution |
Car Pooling | Solution |
Get Maximum in Generated Array | Solution |
Spiral Matrix | Solution |
Problem | Solution |
---|---|
Find the Index of the First Occurrence in a String | N/A |
Problem | Solution |
---|---|
Longest Path With Different Adjacent Characters | Solution |
Problem | Solution |
---|---|
Concatenated Words | Solution |
Longest Common Prefix | Solution |
Problem | Solution |
---|---|
Lexicographically Smallest Equivalent String | Solution |
Number of Good Paths | Solution |