If you are preparing for the interview in Microsoft, here is the list of best Coding questions to practice for a Microsoft Interview . [Questions Set 2]
- My Calendar I
- First Bad Version
- Decode Ways
- Happy Number
- Diameter of Binary Tree
- Maximum Binary Tree
- Design Hit Counter
- String to Integer (atoi)
- Number of 1 Bits
- Equal Rational Numbers
- Statistics from a Large Sample
- Fibonacci Number
- Convert Sorted Array to Binary Search Tree
- Insertion Sort List
- Minimum Path Sum
- Reverse Only Letters
- Longest Palindromic Subsequence
- K Empty Slots
- Binary Search Tree to Greater Sum Tree
- Perfect Squares
- Maximum Subarray
- Remove Linked List Elements
- Count Odd Numbers in an Interval Range
- Print Binary Tree
- Relative Sort Array
- Palindrome Number
- K Closest Points to Origin
- Exclusive Time of Functions
- Daily Temperatures
- Inorder Successor in BST II
- Convert Sorted List to Binary Search Tree
- Boundary of Binary Tree
- Print in Order
- Remove Duplicate Letters
- Battleships in a Board
- Valid Number
- Search a 2D Matrix II
- Minimum Number of Refueling Stops
- Top K Frequent Words
- Spiral Matrix
- Compare Version Numbers
- Word Search II
- Regular Expression Matching
- All Nodes Distance K in Binary Tree
- Odd Even Linked List
- Balanced Binary Tree
- Binary Search
- Shortest Distance from All Buildings
- Serialize and Deserialize N-ary Tree
- Cinema Seat Allocation
- Coin Change 2
- Integer to English Words
- Shuffle an Array
- Jump Game
- Fraction to Recurring Decimal
- House Robber II
- Rectangle Overlap
- Find K Pairs with Smallest Sums
- Container With Most Water
- Reverse Words in a String II
- Longest Increasing Path in a Matrix
- Minimum Depth of Binary Tree
- Read N Characters Given Read4 II - Call multiple times
- Friend Circles
- Design Bounded Blocking Queue
- Add Binary
- Valid Anagram
- Number of Distinct Islands
- Rotate Image
- Two Sum II - Input array is sorted
- Shortest Palindrome
- 2 Keys Keyboard
- Max Consecutive Ones
- Valid Parentheses
- Repeated DNA Sequences
- Maximum Depth of Binary Tree
- Longest Substring with At Most Two Distinct Characters
- Next Greater Element III
- The k-th Lexicographical String of All Happy Strings of Length n
- Design HashMap
- Web Crawler
- Flatten a Multilevel Doubly Linked List
- Minimum Window Substring
- Shortest Word Distance
- Max Area of Island
- Group Anagrams
- Intersection of Two Linked Lists
- Kth Largest Element in an Array
- Partition Array Into Three Parts With Equal Sum
- Shortest Distance in a Plane
- 4 Keys Keyboard
- Merge Two Sorted Lists
- Pancake Sorting
- Smallest Range Covering Elements from K Lists
- Construct Binary Tree from Preorder and Inorder Traversal
- Maximum Product Subarray
- Check Completeness of a Binary Tree
- Reverse Words in a String III
- Letter Tile Possibilities
- Design Linked List
- Encode N-ary Tree to Binary Tree
- Combinations
- Meeting Rooms
- Transpose Matrix
- Find Bottom Left Tree Value
- Knight Probability in Chessboard
- Peeking Iterator
- First Unique Character in a String
- Pow(x;n)
- One Edit Distance
- Implement Trie (Prefix Tree)
- Shuffle String
- Generate Parentheses
- Clone Graph
- Shortest Path in Binary Matrix