Cracking the LeetCode with multiple programming language
| # | Category | Title | Difficulty | SQL | JavaScript | Python3 | Go | Swift | Kotlin | Scala | C | C++ | C# | Java | Ruby |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | Algorithms | Two Sum | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 2 | Algorithms | Add Two Number | Medium | ✔️ | ✔️ | ✔️ | |||||||||
| 7 | Algorithms | Reverse Integer | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 9 | Algorithms | Palindrome Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 11 | Algorithms | Container With Most Water | Medium | ✔️ | ✔️ | ✔️ | |||||||||
| 13 | Algorithms | Roman to Integer | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 14 | Algorithms | Longest Common Prefix | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 20 | Algorithms | Valid Parentheses | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 21 | Algorithms | Merge Two Sorted Lists | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 26 | Algorithms | Remove Duplicates from Sorted Array | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 27 | Algorithms | Remove Element | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 28 | Algorithms | Implement strStr() | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 35 | Algorithms | Search Insert Position | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 38 | Algorithms | Count and Say | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 53 | Algorithms | Maximum Subarray | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 58 | Algorithms | Length of Last Word | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 66 | Algorithms | Plus One | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 67 | Algorithms | Add Binary | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 69 | Algorithms | Sqrt(x) | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 70 | Algorithms | Climbing Stairs | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 83 | Algorithms | Remove Duplicates from Sorted List | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 88 | Algorithms | Merge Sorted Array | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 100 | Algorithms | Same Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 101 | Algorithms | Symmetric Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 104 | Algorithms | Maximum Depth of Binary Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 107 | Algorithms | Binary Tree Level Order Traversal II | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 108 | Algorithms | Convert Sorted Array to Binary Search Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 110 | Algorithms | Balanced Binary Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 111 | Algorithms | Minimum Depth of Binary Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 112 | Algorithms | Path Sum | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 118 | Algorithms | Pascal's Triangle | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 119 | Algorithms | Pascal's Triangle II | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 121 | Algorithms | Best Time to Buy and Sell Stock | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 122 | Algorithms | Best Time to Buy and Sell Stock II | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 125 | Algorithms | Valid Palindrome | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 136 | Algorithms | Single Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 141 | Algorithms | Linked List Cycle | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 155 | Algorithms | Min Stack | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 160 | Algorithms | Intersection of Two Linked Lists | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 167 | Algorithms | Two Sum II - Input array is sorted | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 168 | Algorithms | Excel Sheet Column Title | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 169 | Algorithms | Majority Element | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 171 | Algorithms | Excel Sheet Column Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 172 | Algorithms | Factorial Trailing Zeroes | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 175 | Database | Combine Two Tables | Easy | ✔️ | |||||||||||
| 176 | Database | Second Highest Salary | Easy | ✔️ | |||||||||||
| 177 | Database | Nth Highest Salary | Medium | ✔️ | |||||||||||
| 178 | Database | Rank Scores | Medium | ✔️ | |||||||||||
| 180 | Database | Consecutive Numbers | Medium | ✔️ | |||||||||||
| 181 | Database | Employees Earning More Than Their Managers | Easy | ✔️ | |||||||||||
| 182 | Database | Duplicate Emails | Easy | ✔️ | |||||||||||
| 183 | Database | Customers Who Never Order | Easy | ✔️ | |||||||||||
| 184 | Database | Department Highest Salary | Medium | ✔️ | |||||||||||
| 185 | Database | Department Top Three Salaries | Hard | ✔️ | |||||||||||
| 189 | Algorithms | Rotate Array | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 190 | Algorithms | Reverse Bits | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 191 | Algorithms | Number of 1 Bits | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 192 | Shell | Word Frequency | Medium | ||||||||||||
| 193 | Shell | Valid Phone Numbers | Easy | ||||||||||||
| 194 | Shell | Transpose File | Medium | ||||||||||||
| 195 | Shell | Tenth Line | Easy | ||||||||||||
| 196 | Database | Delete Duplicate Emails | Easy | ✔️ | |||||||||||
| 197 | Database | Rising Temperature | Easy | ✔️ | |||||||||||
| 198 | Algorithms | House Robber | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 202 | Algorithms | Happy Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 203 | Algorithms | Remove Linked List Elements | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 204 | Algorithms | Count Primes | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 205 | Algorithms | Isomorphic Strings | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 206 | Algorithms | Reverse Linked List | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 217 | Algorithms | Contains Duplicate | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 219 | Algorithms | Contains Duplicate II | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 225 | Algorithms | Implement Stack using Queues | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 226 | Algorithms | Invert Binary Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 231 | Algorithms | Power of Two | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 232 | Algorithms | Implement Queue using Stacks | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 234 | Algorithms | Palindrome Linked List | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 235 | Algorithms | Lowest Common Ancestor of a Binary Search Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 237 | Algorithms | Delete Node in a Linked List | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 242 | Algorithms | Valid Anagram | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 257 | Algorithms | Binary Tree Paths | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 258 | Algorithms | Add Digits | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 262 | Database | Trips and Users | Hard | ✔️ | |||||||||||
| 263 | Algorithms | Ugly Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 268 | Algorithms | Missing Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 278 | Algorithms | First Bad Version | Easy | ✔️ | ✔️ | ||||||||||
| 283 | Algorithms | Move Zeroes | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 290 | Algorithms | Word Pattern | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 292 | Algorithms | Nim Game | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 299 | Algorithms | Bulls and Cows | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 303 | Algorithms | Range Sum Query - Immutable | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 326 | Algorithms | Power of Three | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 342 | Algorithms | Power of Four | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 344 | Algorithms | Reverse String | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 345 | Algorithms | Reverse Vowels of a String | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 349 | Algorithms | Intersection of Two Arrays | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 350 | Algorithms | Intersection of Two Arrays II | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 367 | Algorithms | Valid Perfect Square | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 371 | Algorithms | Sum of Two Integers | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 374 | Algorithms | Guess Number Higher or Lower | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 383 | Algorithms | Ransom Note | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 387 | Algorithms | First Unique Character in a String | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 389 | Algorithms | Find the Difference | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 392 | Algorithms | Is Subsequence | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 400 | Algorithms | Nth Digit | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 401 | Algorithms | Binary Watch | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 404 | Algorithms | Sum of Left Leaves | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 405 | Algorithms | Convert a Number to Hexadecimal | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 409 | Algorithms | Longest Palindrome | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 412 | Algorithms | Fizz Buzz | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 414 | Algorithms | Third Maximum Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 415 | Algorithms | Add Strings | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 429 | Algorithms | N-ary Tree Level Order Traversal | Easy | ✔️ | ✔️ | ||||||||||
| 434 | Algorithms | Number of Segments in a String | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 437 | Algorithms | Path Sum III | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 438 | Algorithms | Find All Anagrams in a String | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 441 | Algorithms | Arranging Coins | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 443 | Algorithms | String Compression | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 447 | Algorithms | Number of Boomerangs | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 448 | Algorithms | Find All Numbers Disappeared in an Array | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 453 | Algorithms | Minimum Moves to Equal Array Elements | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 455 | Algorithms | Assign Cookies | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 458 | Algorithms | Poor Pigs | Hard | ✔️ | ✔️ | ✔️ | |||||||||
| 459 | Algorithms | Repeated Substring Pattern | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 461 | Algorithms | Hamming Distance | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 463 | Algorithms | Island Perimeter | Easy | ✔️ | ✔️ | ||||||||||
| 475 | Algorithms | Heaters | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 476 | Algorithms | Number Complement | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 482 | Algorithms | License Key Formatting | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 485 | Algorithms | Max Consecutive Ones | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 492 | Algorithms | Construct the Rectangle | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 496 | Algorithms | Next Greater Element I | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 500 | Algorithms | Keyboard Row | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 501 | Algorithms | Find Mode in Binary Search Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 504 | Algorithms | Base 7 | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 506 | Algorithms | Relative Ranks | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 507 | Algorithms | Perfect Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 509 | Algorithms | Fibonacci Number | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 520 | Algorithms | Detect Capital | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 521 | Algorithms | Longest Uncommon Subsequence I | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 530 | Algorithms | Minimum Absolute Difference in BST | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 532 | Algorithms | K-diff Pairs in an Array | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 538 | Algorithms | Convert BST to Greater Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 541 | Algorithms | Reverse String II | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 543 | Algorithms | Diameter of Binary Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 551 | Algorithms | Student Attendance Record I | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 557 | Algorithms | Reverse Words in a String III | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 558 | Algorithms | Quad Tree Intersection | Easy | ✔️ | ✔️ | ||||||||||
| 559 | Algorithms | Maximum Depth of N-ary Tree | Easy | ✔️ | ✔️ | ||||||||||
| 561 | Algorithms | Array Partition I | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 563 | Algorithms | Binary Tree Tilt | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 566 | Algorithms | Reshape the Matrix | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 572 | Algorithms | Subtree of Another Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 575 | Algorithms | Distribute Candies | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 581 | Algorithms | Shortest Unsorted Continuous Subarray | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 589 | Algorithms | N-ary Tree Preorder Traversal | Easy | ✔️ | ✔️ | ||||||||||
| 590 | Algorithms | N-ary Tree Postorder Traversal | Easy | ✔️ | ✔️ | ||||||||||
| 594 | Algorithms | Longest Harmonious Subsequence | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 595 | Database | Big Countries | Easy | ✔️ | |||||||||||
| 596 | Database | Classes More Than 5 Students | Easy | ✔️ | |||||||||||
| 598 | Algorithms | Range Addition II | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 599 | Algorithms | Minimum Index Sum of Two Lists | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 601 | Database | Human Traffic of Stadium | Hard | ✔️ | |||||||||||
| 605 | Algorithms | Can Place Flowers | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 606 | Algorithms | Construct String from Binary Tree | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 617 | Algorithms | Merge Two Binary Trees | Easy | ✔️ | ✔️ | ✔️ | |||||||||
| 620 | Database | Not Boring Movies | Easy | ✔️ | |||||||||||
| 626 | Database | Exchange Seats | Medium | ✔️ | |||||||||||
| 627 | Database | Swap Salary | Easy | ✔️ |
- Rukeith https://github.com/rukeith