Leetcode is definitely one of the most effective resources to prepare technical interviews. The idea is that you certainly need a bunch of practice before you can easily solve those problems.
Here is the list of problems I have solved (Updated on 02-23-2019)
- Problem #1 - Two Sum
- Problem #2 - Add Two Numbers
- Problem #3 - Longest Substring Without Repeating Characters
- Problem #4 - Median of Two Sorted Arrays
- Problem #5 - Longest Palindromic Substring
- Problem #6 - ZigZag Conversion
- Problem #7 - Reverse Integer
- Problem #8 - String to Integer (atoi)
- Problem #9 - Palindrome Number
- Problem #11 - Container With Most Water
- Problem #12 - Integer to Roman
- Problem #13 - Roman to Integer
- Problem #14 - Longest Common Prefix
- Problem #17 - Letter Combinations of a Phone Number
- Problem #20 - Valid Parentheses
- Problem #21 - Merge Two Sorted Lists
- Problem #24 - Swap Nodes in Pairs
- Problem #26 - Remove Duplicates from Sorted Array
- Problem #27 - Remove Element
- Problem #28 - Implement strStr()
- Problem #35 - Search Insert Position
- Problem #38 - Count and Say
- Problem #53 - Maximum Subarray
- Problem #58 - Length of Last Word
- Problem #66 - Plus One
- Problem #67 - Add Binary
- Problem #69 - Sqrt(x)
- Problem #70 - Climbing Stairs
- Problem #79 - Word Search
- Problem #83 - Remove Duplicates from Sorted List
- Problem #91 - Decode Ways
- Problem #100 - Same Tree
- Problem #120 - Triangle
- Problem #172 - Factorial Trailing Zeroes
- Problem #222 - Count Complete Tree Nodes
- Problem #237 - Delete Node in a Linked List
- Problem #299 - Bulls and Cows
- Problem #367 - Valid Perfect Square
- Problem #371 - Sum of Two Integers
- Problem #389 - Find the Difference
- Problem #397 - Integer Replacement
- Problem #405 - Convert a Number to Hexadecimal
- Problem #413 - Arithmetic Slices
- Problem #414 - Third Maximum Number
- Problem #433 - Minimum Genetic Mutation
- Problem #436 - Find Right Interval
- Problem #442 - Find All Duplicates in an Array
- Problem #455 - Assign Cookies
- Problem #476 - Number Complement
- Problem #525 - Contiguous Array
- Problem #535 - Encode and Decode TinyURL
- Problem #539 - Minimum Time Difference
- Problem #593 - Valid Square
- Problem #645 - Set Mismatch
- Problem #670 - Maximum Swap
- Problem #696 - Count Binary Substrings
- Problem #758 - Bold Words in String
- Problem #760 - Find Anagram Mappings
- Problem #762 - Prime Number of Set Bits in Binary Representation
- Problem #763 - Partition Labels
- Problem #766 - Toeplitz Matrix
- Problem #767 - Reorganize String
- Problem #771 - Jewels and Stones
- Problem #791 - Custom Sort String
- Problem #796 - Rotate String
- Problem #799 - Champagne Tower
- Problem #813 - Largest Sum of Averages
- Problem #822 - Card Flipping Game
- Problem #825 - Friends Of Appropriate Ages
- Problem #929 - Unique Email Addresses