Skip to content

buulgt/LeetcodeJourney

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetcodeJourney

#Algorithm

Easy

#1. Two Sum: Problem | Solution
#7. Reverse Integer: Problem | Solution
#9. Palindrome Number: Problem | Solution
#13. Roman to Integer: Problem | Solution
#14. Longest Common Prefix: Problem | Solution
#20. Valid Parentheses: Problem | Solution
#21. Merge Two Sorted Lists: Problem | Solution
#26. Remove Duplicates from Sorted Array: Problem | Solution
#27. Remove Element: Problem | Solution
#28. Implement strStr(): Problem | Solution
#35. Search Insert Position: Problem | Solution
#53. Maximum Subarray: Problem | Solution
#58. Length of Last Word: Problem | Solution
#66. Plus One: Problem | Solution
#67. Add Binary: Problem | Solution
#69. Sqrt(x): Problem | Solution
#70. Climbing Stairs: Problem | Solution
#83. Remove Duplicates from Sorted List: Problem | Solution
#88. Merge Sorted Array: Problem | Solution
#94. Binary Tree Inorder Traversal: Problem | Solution
#100. Same Tree: Problem | Solution
#101. Symmetric Tree: Problem | Solution
#104. Maximum Depth of Binary Tree: Problem| Solution
#108. Convert Sorted Array to Binary Search Tree: Problem | Solution
#110. Balanced Binary Tree: Problem | Solution
#111. Minimum Depth of Binary Tree: Problem | Solution
#112. Path Sum: Problem | Solution
#118. Pascal's Triangle (Generate Pascal's Triangle): Problem | Solution
#119. Pascal's Triangle II (Get array at rowth): Problem | Solution
#121. Best Time to Buy and Sell Stock: Problem | Solution
#122. Best Time to Buy and Sell Stock II: Problem | Solution
#125. Valid Palindrome: Problem | Solution
#136. Single Number: Problem | Solution
#141. Linked List Cycle: Problem | Solution
#144. Binary Tree Preorder Traversal: Problem | Problem
#145. Binary Tree Postorder Traversal: Problem | Solution
#155. Min Stack: Problem | Solution
#157. Read N Characters Given Read4 (Premium): Problem | Solution
#160. Intersection of Two Linked Lists: Problem | Solution
#163. Missing Ranges (Premium): Problem | Solution
#167. Two Sum II - Input array is sorted: Prolbem | Solution
#168. Excel Sheet Column Title: Problem | Solution
#169. Majority Element: Problem | Solution
#170 Two Sum III - Data structure design (Premium): Problem | Solution
#171. Excel Sheet Column Number: Problem | Solution
#172. Factorial Trailing Zeroes: Problem | Solution
#190. Reverse Bits: Problem | Solution
#191. Number of 1 Bits: Problem | Solution
#202. Happy Number: Problem | Solution
#203. Remove Linked List Elements: Problem | Solution
#204. Count Primes: Problem | Solution
#205. Isomorphic Strings: Problem | Solution
#206. Reverse Linked List: Problem | Solution
#217. Contains Duplicate: Problem | Solution
#219. Contains Duplicate II: Problem | Solution
#225. Implement Stack using Queues: Problem | Solution
#226. Invert Binary Tree: Problem | Solution
#228. Summary Ranges: Problem | Solution
#231. Power of Two: Problem | Solution
#232. Implement Queue using Stacks: Problem | Solution
#234. Palindrome Linked List: Problem | Solution
#235. Lowest Common Ancestor of a Binary Search Tree: Problem | Solution
#237. Delete Node in a Linked List: Problem | Solution
#242. Valid Anagram: Problem | Solution
#243 Shortest Word Distance (Premium): Problem | Solution
#246 Strobogrammatic Number (Premium): Problem | Solution
#252 Meeting Rooms (Premium): Problem | Solution

#257. Binary Tree Paths: Problem | Solution
#258. Add Digits: Problem | Solution
#263. Ugly Number: Problem | Solution
#266 Palindrome Permutation (Premium): Problem | Solution
#268. Missing Number: Problem | Solution
#270 Closest Binary Search Tree Value (Premium): Problem | Solution
#278. First Bad Version: Problem | Solution
#283. Move Zeroes: Problem | Solution
#290. Word Pattern: Problem | Solution
#292. Nim Game: Problem | Solution
#293 Flip Game (Premium): Problem | Solution
#303. Range Sum Query - Immutable: Problem | Solution
#326. Power of Three: Problem | Solution
#338. Counting Bits: Problem | Solution
#342. Power of Four: Problem | Solution
#344. Reverse String: Problem | Solution
#345. Reverse Vowels of a String: Problem | Solution
#346 Moving Average from Data Stream (Premium): Problem | Solution
#349. Intersection of Two Arrays: Problem | Solution
#350. Intersection of Two Arrays II: Problem | Solution
#359 Logger Rate Limiter (Premium): Problem | Solution
#367. Valid Perfect Square: Problem | Solution
#374. Guess Number Higher or Lower: Problem | Solution
#383. Ransom Note: Problem | Solution
#387. First Unique Character in a String: Problem | Solution
#389. Find the Difference: Problem | Solution
#392. Is Subsequence: Problem | Solution
#401. Binary Watch: Problem | Solution
#404. Sum of Left Leaves: Problem | Solution
#405. Convert a Number to Hexadecimal: Problem | Solution
#408 Valid Word Abbreviation (Premium): Problem | Solution
#409. Longest Palindrome: Problem | Solution
#412. Fizz Buzz: Problem | Solution
#414. Third Maximum Number: Problem | Solution
#415. Add Strings: Problem | Solution
#422 Valid Word Square (Premium): Problem | Solution
#434. Number of Segments in a String: Problem | Solution
#441. Arranging Coins: Problem | Solution
#448. Find All Numbers Disappeared in an Array: Problem | Solution
#453. Minimum Moves to Equal Array Elements: Problem | Solution

#455. Assign Cookies: Problem | Solution
#459. Repeated Substring Pattern: Problem | Solution
#461. Hamming Distance: Problem | Solution
#463. Island Perimeter: Problem | Solution
#476. Number Complement: Problem | Solution
#482. License Key Formatting: Problem | Solution
#485. Max Consecutive Ones: Problem | Solution
#492. Construct the Rectangle: Problem | Solution
#495. Teemo Attacking: Problem | Solution
#496. Next Greater Element I: Problem | Solution
#500. Keyboard Row: Problem | Solution
#501. Find Mode in Binary Search Tree: Problem | Solution
#504. Base 7: Problem | Solution
#506. Relative Ranks: Problem | Solution
#507. Perfect Number: Problem | Solution
#509. Fibonacci Number: Problem | Solution
#511 Game Play Analysis I (Premium): Problem | Solution
#512 Game Play Analysis II (Premium): Problem | Solution

#520. Detect Capital: Problem | Solution
#521. Longest Uncommon Subsequence I: Problem | Solution
#530. Minimum Absolute Difference in BST: Problem | Solution
#541. Reverse String II: Problem | Solution
#543. Diameter of Binary Tree: Problem | Solution
#551. Student Attendance Record I: Problem | Solution
#557. Reverse Words in a String III: Problem | Solution
#559. Maximum Depth of N-ary Tree: Problem | Solution
#561. Array Partition I: Problem | Solution
#563. Binary Tree Tilt: Problem | Solution

#566. Reshape the Matrix: Problem | Solution
#572. Subtree of Another Tree: Problem | Solution
#575. Distribute Candies: Problem | Solution
#577 Employee Bonus (Premium): Problem | Solution
#584 Find Customer Referee (Premium): Problem | Solution
#586 Customer Placing the Largest Number of Orders (Premium): Problem | Solution

Medium

#2. Add Two Numbers: Problem | Solution
#3. Longest Substring Without Repeating Characters: Problem | Solution
#5. Longest Palindromic Substring: Problem | Solution
#6. ZigZag Conversion: Problem | Solution
#8. String to Integer (atoi): Problem | Solution
#11. Container With Most Water: Problem | Solution
#12. Integer to Roman: Problem | Solution
#15. 3Sum: Problem | Solution
#16. 3Sum Closest: Problem | Solution
#17. Letter Combinations of a Phone Number: Problem | Solution
#18. 4Sum: Problem | Solution
#19. Remove Nth Node From End of List: Problem | Solution
#22. Generate Parentheses: Problem | Solution
#24. Swap Nodes in Pairs: Problem | Solution
#29. Divide Two Integers: Problem | Solution
#31. Next Permutation: Problem | Solution
#33. Search in Rotated Sorted Array: Problem | Solution
#34. Find First and Last Position of Element in Sorted Array: Problem | Solution
#36. Valid Sudoku: Problem | Solution
#38. Count and Say: Problem | Solution
#39. Combination Sum: Problem | Solution
#40. Combination Sum II: Problem | Solution
#43. Multiply Strings: Problem | Solution
#45. Jump Game II: Problem | Solution
#46. Permutations: Problem | Solution
#47. Permutations II: Problem | Solution
#48. Rotate Image: Problem | Solution
#49. Group Anagrams: Problem | Solution
#50. Pow(x, n): Problem | Solution
#54. Spiral Matrix: Problem | Solution
#55. Jump Game: Problem | Solution
#56. Merge Intervals: Problem | Solution
#57. Insert Interval: Problem | Solution
#59. Spiral Matrix II: Problem | Solution
#61. Rotate List: Problem | Solution
#62. Unique Paths: Problem | Solution
#63. Unique Paths II: Problem | Solution
#64. Minimum Path Sum: Problem | Solution
#71. Simplify Path: Problem | Solution
#73. Set Matrix Zeroes: Problem | Solution
#74. Search a 2D Matrix: Problem | Solution
#75. Sort Colors: Problem | Solution
#77. Combinations: Problem | Solution
#78. Subsets: Problem | Solution
#79. Word Search: Problem | Solution
#80. Remove Duplicates from Sorted Array II: Problem | Solution
#81. Search in Rotated Sorted Array II: Problem | Solution
#82. Remove Duplicates from Sorted List II: Problem | Solution
#86. Partition List: Problem | Solution
#89. Gray Code: Problem | Solution
\

Hard

#4. Median of Two Sorted Arrays: Problem | Solution

#SQL

Easy

#175. Combine Two Tables: Problem | Solution
#176. Second Highest Salary: Problem | Solution
#181. Employees Earning More Than Their Managers: Problem | Solution
#182. Duplicate Emails: Problem | Solution
#183. Customers Who Never Order: Problem | Solution
#196. Delete Duplicate Emails: Problem | Solution
#197. Rising Temperature: Problem | Solution

Medium

Hard

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages