Skip to content

r-vvch/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

87 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

LeetCode

LeetCode fuss πŸ‘€

Problem Solution Topics Difficulty
1. Two Sum 😎 Array Hash Table
2. Add Two Numbers πŸ€” Linked List Math Recursion
3. Longest Substring Without Repeating Characters πŸ€” Hash Table String Sliding Window
5. Longest Palindromic Substring πŸ€” Two Pointers String Dynamic Programming
17. Letter Combinations of a Phone Number πŸ€” Hash Table String Backtracking
19. Remove Nth Node From End of List πŸ€” Linked List Two Pointers
20. Valid Parentheses 😎 String Stack
21. Merge Two Sorted Lists 😎 Linked List Recursion
22. Generate Parentheses πŸ€” String Dynamic Programming Backtracking
23. Merge k Sorted Lists 😀 Linked List Divide and Conquer Heap (Priority Queue) Merge Sort
24. Swap Nodes in Pairs πŸ€” Linked List Recursion
26. Remove Duplicates from Sorted Array 😎 Array Two Pointers
33. Search in Rotated Sorted Array πŸ€” Array Binary Search
48. Rotate Image πŸ€” Array Math Matrix
49. Group Anagrams πŸ€” Array Hash Table String Sorting
56. Merge Intervals πŸ€” Array Sorting
71. Simplify Path πŸ€” String Stack
88. Merge Sorted Array 😎 Array Two Pointers Sorting
98. Validate Binary Search Tree πŸ€” Tree Depth-First Search Binary Search Tree Binary Tree
101. Symmetric Tree 😎 Tree Depth-First Search Breadth-First Search Binary Tree
103. Binary Tree Zigzag Level Order Traversal πŸ€” Tree Breadth-First Search Binary Tree
125. Valid Palindrome 😎 Two Pointers String
136. Single Number 😎 Array Bit Manipulation
146. LRU Cache πŸ€” Hash Table Linked List Design Doubly-Linked List
150. Evaluate Reverse Polish Notation πŸ€” Array Math Stack
153. Find Minimum in Rotated Sorted Array πŸ€” Array Binary Search
159. Longest Substring with At Most Two Distinct Characters πŸ€” Hash Table String Sliding Window
161. One Edit Distance πŸ€” Two Pointers String
167. Two Sum II - Input Array Is Sorted πŸ€” Array Two Pointers Binary Search
200. Number of Islands πŸ€” Array Depth-First Search Breadth-First Search Union Find Matrix
204. Count Primes πŸ€” Array Math Enumeration Number Theory
206. Reverse Linked List 😎 Linked List Recursion
228. Summary Ranges 😎 Array
232. Implement Queue using Stacks 😎 Stack Design Queue
234. Palindrome Linked List 😎 Linked List Two Pointers Stack Recursion
236. Lowest Common Ancestor of a Binary Tree πŸ€” Tree Depth-First Search Binary Tree
238. Product of Array Except Self πŸ€” Array Prefix Sum
253. Meeting Rooms II πŸ€” Greedy Array Two Pointers Prefix Sum Sorting Heap (Priority Queue)
268. Missing Number 😎 Array Hash Table Math Binary Search Bit Manipulation Sorting
279. Perfect Squares πŸ€” Math Dynamic Programming Breadth-First Search
281. Zigzag Iterator πŸ€” Design Queue Array Iterator
283. Move Zeroes 😎 Array Two Pointers
300. Longest Increasing Subsequence πŸ€” Array Binary Search Dynamic Programming
341. Flatten Nested List Iterator πŸ€” Stack Tree Depth-First Search Design Queue Iterator
350. Intersection of Two Arrays II 😎 Array Hash Table Two Pointers Binary Search Sorting
356. Line Reflection πŸ€” Array Hash Table Math
362. Design Hit Counter πŸ€” Design Queue Array Binary Search
380. Insert Delete GetRandom O(1) πŸ€” Array Hash Table Math Design Randomized
387. First Unique Character in a String 😎 Hash Table String Queue Counting
392. Is Subsequence 😎 Two Pointers String Dynamic Programming
415. Add Strings 😎 Math String Simulation
438. Find All Anagrams in a String πŸ€” Hash Table String Sliding Window
443. String Compression πŸ€” Two Pointers String
448. Find All Numbers Disappeared in an Array 😎 Array Hash Table
470. Implement Rand10() Using Rand7() πŸ€” Math Rejection Sampling Randomized Probability and Statistics
487. Max Consecutive Ones II πŸ€” Array Dynamic Programming Sliding Window
523. Continuous Subarray Sum πŸ€” Array Hash Table Math Prefix Sum
557. Reverse Words in a String III 😎 Two Pointers String
560. Subarray Sum Equals K πŸ€” Array Hash Table Prefix Sum
567. Permutation in String πŸ€” Hash Table Two Pointers String Sliding Window
658. Find K Closest Elements πŸ€” Array Two Pointers Binary Search Sliding Window Sorting Heap (Priority Queue)
716. Max Stack 😎 Stack Design Linked List Doubly-Linked List Ordered Set
763. Partition Labels πŸ€” Hash Table Two Pointers String Greedy
771. Jewels and Stones 😎 Hash Table String
849. Maximize Distance to Closest Person πŸ€” Array
933. Number of Recent Calls 😎 Design Queue Data Stream
938. Range Sum of BST 😎 Tree Depth-First Search Binary Search Tree Binary Tree
977. Squares of a Sorted Array 😎 Array Two Pointers Sorting
986. Interval List Intersections πŸ€” Array Two Pointers Line Sweep
1004. Max Consecutive Ones III πŸ€” Array Binary Search Sliding Window Prefix Sum
1446. Consecutive Characters 😎 String
1493. Longest Subarray of 1's After Deleting One Element πŸ€” Array Dynamic Programming Sliding Window
1650. Lowest Common Ancestor of a Binary Tree III πŸ€” Tree Hash Table Two Pointers Binary Tree

SQL

Using PostgreSQL

Problem Solution Topics
SQL Tasks πŸ›’οΈ Database

About

LeetCode fuss

Resources

Stars

Watchers

Forks