Microsoft Preparation Guide
Microsoft Preparation Guide
com/company/microsoft/
Problems Discuss
Notice
We've improved our algorithm that calculates company tags and their frequencies to be more accurate and current.
1 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
�� Find First and Last Position of Element in Sorted Array (/problems/find-first-and-last-position- ��.�% Medium
of-element-in-sorted-array)
2 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
��� Binary Tree Zigzag Level Order Traversal (/problems/binary-tree-zigzag-level-order-traversal) ��.�% Medium
��� Construct Binary Tree from Preorder and Inorder Traversal (/problems/construct-binary-tree- ��.�% Medium
from-preorder-and-inorder-traversal)
��� Convert Sorted Array to Binary Search Tree (/problems/convert-sorted-array-to-binary- ��.�% Easy
search-tree)
��� Convert Sorted List to Binary Search Tree (/problems/convert-sorted-list-to-binary-search- ��.�% Medium
tree)
��� Populating Next Right Pointers in Each Node (/problems/populating-next-right-pointers-in- ��.�% Medium
each-node)
��� Populating Next Right Pointers in Each Node II (/problems/populating-next-right-pointers-in- ��.�% Medium
each-node-ii)
��� Best Time to Buy and Sell Stock (/problems/best-time-to-buy-and-sell-stock) ��.�% Easy
��� Best Time to Buy and Sell Stock II (/problems/best-time-to-buy-and-sell-stock-ii) ��.�% Medium
3 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
��� Read N Characters Given read� II - Call Multiple Times (/problems/read-n-characters-given- ��.�% Hard
read�-ii-call-multiple-times)
��� Longest Substring with At Most Two Distinct Characters (/problems/longest-substring-with-at- ��.�% Medium
most-two-distinct-characters)
��� Design Add and Search Words Data Structure (/problems/design-add-and-search-words-data- ��.�% Medium
structure)
4 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
��� Longest Substring with At Most K Distinct Characters (/problems/longest-substring-with-at- ��.�% Medium
most-k-distinct-characters)
5 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
��� Longest Substring with At Least K Repeating Characters (/problems/longest-substring-with-at- ��.�% Medium
least-k-repeating-characters)
6 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
��� Smallest Range Covering Elements from K Lists (/problems/smallest-range-covering- ��.�% Hard
elements-from-k-lists)
��� Convert Binary Search Tree to Sorted Doubly Linked List (/problems/convert-binary-search- ��.�% Medium
tree-to-sorted-doubly-linked-list)
7 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
8 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
���� Construct Binary Search Tree from Preorder Traversal (/problems/construct-binary-search- ��.�% Medium
tree-from-preorder-traversal)
���� Swap For Longest Repeated Character Substring (/problems/swap-for-longest-repeated- ��.�% Medium
character-substring)
���� Reverse Substrings Between Each Pair of Parentheses (/problems/reverse-substrings- ��.�% Medium
between-each-pair-of-parentheses)
���� Maximum Length of a Concatenated String with Unique Characters (/problems/maximum- ��.�% Medium
length-of-a-concatenated-string-with-unique-characters)
���� Find Winner on a Tic Tac Toe Game (/problems/find-winner-on-a-tic-tac-toe-game) ��.�% Easy
���� Shortest Path in a Grid with Obstacles Elimination (/problems/shortest-path-in-a-grid-with- ��.�% Hard
obstacles-elimination)
���� Minimum Number of Taps to Open to Water a Garden (/problems/minimum-number-of-taps- ��.�% Hard
to-open-to-water-a-garden)
���� Number of Steps to Reduce a Number in Binary Representation to One (/problems/number- ��.�% Medium
of-steps-to-reduce-a-number-in-binary-representation-to-one)
9 of 10 09/08/22, 15:30
Microsoft - LeetCode https://leetcode.com/company/microsoft/
���� Number of Students Doing Homework at a Given Time (/problems/number-of-students- ��.�% Easy
doing-homework-at-a-given-time)
���� Maximum Number of Non-Overlapping Subarrays With Sum Equals Target (/problems ��.�% Medium
/maximum-number-of-non-overlapping-subarrays-with-sum-equals-target)
���� Minimum Deletions to Make Character Frequencies Unique (/problems/minimum-deletions- ��.�% Medium
to-make-character-frequencies-unique)
���� Ways to Split Array Into Three Subarrays (/problems/ways-to-split-array-into-three-subarrays) ��.�% Medium
���� Equal Sum Arrays With Minimum Number of Operations (/problems/equal-sum-arrays-with- ��.�% Medium
minimum-number-of-operations)
���� Remove Duplicates From an Unsorted Linked List (/problems/remove-duplicates-from-an- ��.�% Medium
unsorted-linked-list)
���� Egg Drop With � Eggs and N Floors (/problems/egg-drop-with-�-eggs-and-n-floors) ��.�% Medium
���� Minimum Number of Swaps to Make the String Balanced (/problems/minimum-number-of- ��.�% Medium
swaps-to-make-the-string-balanced)
���� Minimum Number of Work Sessions to Finish the Tasks (/problems/minimum-number-of- ��.�% Medium
work-sessions-to-finish-the-tasks)
Copyright © ���� LeetCode
���� Partition
Help Center (/support)
Array Into Bug
Jobs (/jobs)
TwoBounty
Arrays(/bugbounty)
to Minimize Sum Difference (/problems/partition-array-into-
Online Interview (/interview/) Students (/student)
��.�%
Terms (/terms)
Hard
Privacy Policy (/privacy)
two-arrays-to-minimize-sum-difference)
United States (/region)
���� Step-By-Step Directions From a Binary Tree Node to Another (/problems/step-by-step- ��.�% Medium
directions-from-a-binary-tree-node-to-another)
���� Find All Possible Recipes from Given Supplies (/problems/find-all-possible-recipes-from- ��.�% Medium
given-supplies)
���� Minimum Swaps to Group All �'s Together II (/problems/minimum-swaps-to-group-all-�s- ��.�% Medium
together-ii)
���� Remove Digit From Number to Maximize Result (/problems/remove-digit-from-number-to- ��.�% Easy
maximize-result)
���� Longest Path With Different Adjacent Characters (/problems/longest-path-with-different- ��.�% Hard
adjacent-characters)
10 of 10 09/08/22, 15:30