TheAlgorithms-C/leetcode/DIRECTORY.md
Alexander Pantyukhin 103361de54
feat: add Keys and Rooms LeetCode problem (#1189)
Co-authored-by: David Leal <halfpacho@gmail.com>
2023-01-19 22:09:32 -06:00

21 KiB

LeetCode

LeetCode Algorithm

# Title Solution Difficulty
1 Two Sum C Easy
2 Add Two Numbers C Medium
3 Longest Substring Without Repeating Characters C Medium
4 Median of Two Sorted Arrays C Hard
6 ZigZag conversion C Medium
7 Reverse Integer C Easy
8 String to Integer (atoi) C Medium
9 Palindrome Number C Easy
10 Regular Expression Matching C Hard
11 Container With Most Water C Medium
12 Integer to Roman C Medium
13 Roman to Integer C Easy
14 Max Consecutive Ones C Easy
20 Valid Parentheses C Easy
21 Merge Two Sorted Lists C Easy
24 Swap Nodes in Pairs C Medium
26 Remove Duplicates from Sorted Array C Easy
27 Remove Element C Easy
28 Implement strStr() C Easy
29 Divide Two Integers C Medium
32 Longest Valid Parentheses C Hard
35 Search Insert Position C Easy
37 Sudoku Solver C Hard
38 Count and Say C Easy
42 Trapping Rain Water C Hard
53 Maximum Subarray C Easy
62 Unique Paths C Medium
66 Plus One C Easy
79 Word Search C Medium
82 Remove Duplicates from Sorted List II C Medium
83 Remove Duplicates from Sorted List C Easy
94 Binary Tree Inorder Traversal C Medium
98 Validate Binary Search Tree C Medium
101 Symmetric Tree C Easy
104 Maximum Depth of Binary Tree C Easy
108 Convert Sorted Array to Binary Search Tree C Easy
109 Convert Sorted List to Binary Search Tree C Medium
110 Balanced Binary Tree C Easy
112 Path Sum C Easy
118 Pascal's Triangle C Easy
121 Best Time to Buy and Sell Stock C Easy
125 Valid Palindrome C Easy
136 Single Number C Easy
141 Linked List Cycle C Easy
142 Linked List Cycle II C Medium
153 Find Minimum in Rotated Sorted Array C Medium
160 Intersection of Two Linked Lists C Easy
169 Majority Element C Easy
173 Binary Search Tree Iterator C Medium
189 Rotate Array C Easy
190 Reverse Bits C Easy
191 Number of 1 Bits C Easy
201 Bitwise AND of Numbers Range C Medium
203 Remove Linked List Elements C Easy
206 Reverse Linked List C Easy
215 Kth Largest Element in an Array C Medium
217 Contains Duplicate C Easy
223 Rectangle Area C Medium
226 Invert Binary Tree C Easy
230 Kth Smallest Element in a BST C Medium
231 Power of Two C Easy
234 Palindrome Linked List C Easy
236 Lowest Common Ancestor of a Binary Tree C Medium
242 Valid Anagram C Easy
268 Missing Number C Easy
274 H-Index C Medium
278 First Bad Version C Easy
283 Move Zeroes C Easy
287 Find the Duplicate Number C Medium
344 Reverse String C Easy
367 Valid Perfect Square C Easy
387 First Unique Character in a String C Easy
389 Find the Difference C Easy
404 Sum of Left Leaves C Easy
442 Find All Duplicates in an Array C Medium
461 Hamming Distance C Easy
476 Number Complement C Easy
509 Fibonacci Number C Easy
520 Detect Capital C Easy
561 Array Partition I C Easy
617 Merge Two Binary Trees C Easy
647 Palindromic Substring C Medium
669 Trim a Binary Search Tree C Medium
674 Longest Continuous Increasing Subsequence C Easy
684 Redundant Connection C Medium
700 Search in a Binary Search Tree C Easy
701 Insert into a Binary Search Tree C Medium
704 Binary Search C Easy
709 To Lower Case C Easy
771 Jewels and Stones C Easy
807 Max Increase to Keep City Skyline C Medium
841 Keys and Rooms C Medium
852 Peak Index in a Mountain Array C Easy
876 Middle of the Linked List C Easy
901 Online Stock Span C Medium
905 Sort Array By Parity C Easy
917 Reverse Only Letters C Easy
931 Minimum Falling Path Sum C Medium
938 Range Sum of BST C Easy
965 Univalued Binary Tree C Easy
977 Squares of a Sorted Array C Easy
985 Sum of Even Numbers After Queries C Medium
1009 Complement of Base 10 Integer C Easy
1026 Maximum Difference Between Node and Ancestor C Medium
1089 Duplicate Zeros C Easy
1147 Longest Chunked Palindrome Decomposition C Hard
1184 Distance Between Bus Stops C Easy
1189 Maximum Number of Balloons C Easy
1207 Unique Number of Occurrences C Easy
1695 Maximum Erasure Value C Medium
1769 Minimum Number of Operations to Move All Balls to Each Box C Medium
1524 Number of Sub-arrays With Odd Sum C Medium
1653 Minimum Deletions to Make String Balanced C Medium
1704 [Determine if String Halves Are Alike](Determine if String Halves Are Alike) C Easy
1752 Check if Array Is Sorted and Rotated C Easy
2024 Maximize the Confusion of an Exam C Medium
2125 Number of Laser Beams in a Bank C Medium
2130 Maximum Twin Sum of a Linked List C Medium
2222 Number of Ways to Select Buildings C Medium
2256 Minimum Average Difference C Medium
2270 Number of Ways to Split Array C Medium
2304 Minimum Path Cost in a Grid C Medium
2501 Longest Square Streak in an Array C Medium