0% found this document useful (0 votes)
269 views9 pages

Microsoft

This document provides a summary of Microsoft tagged LeetCode questions from the last 6 months (March 2022 - August 2022) sorted by frequency. It includes the question title, tags, acceptance rate, and difficulty for the top LeetCode questions asked in interviews at Microsoft.

Uploaded by

harshit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
269 views9 pages

Microsoft

This document provides a summary of Microsoft tagged LeetCode questions from the last 6 months (March 2022 - August 2022) sorted by frequency. It includes the question title, tags, acceptance rate, and difficulty for the top LeetCode questions asked in interviews at Microsoft.

Uploaded by

harshit
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Microsoft

tagged LeetCode
questions Which is asked in the last 6 months

(March22 – Aug22)

This pdf contains Microsoft tagged questions

from LC premium account , sorted according to


frequency of asked, also they are links so just
click and solve.

Good Luck

@Chandanagrawal23
# Title Tags Acceptance Difficulty

1386 Cinema Seat Allocation ArrayHash TableGreedyBit Manipulation 40.70% Medium

1405 Longest Happy String StringGreedyHeap (Priority Queue) 57.20% Medium

1822 Sign of the Product of an Array ArrayMath 66.60% Easy

1304 Find N Unique Integers Sum up to Zero ArrayMath 77.10% Easy

1615 Maximal Network Rank Graph 57.80% Medium

1404 Number of Steps to Reduce a Number in 51.70%


Binary Representation to One StringBit Manipulation Medium

1578 Minimum Time to Make Rope Colorful ArrayStringDynamic ProgrammingGreedy 61.20% Medium

1647 Minimum Deletions to Make Character 59.30%


Frequencies Unique StringGreedySorting Medium

146 Hash TableLinked ListDesignDoubly- 40.60%


LRU Cache Linked List Medium

273 Integer to English Words MathStringRecursion 29.80% Hard

1775 Equal Sum Arrays With Minimum Number of 52.20%


Operations ArrayHash TableGreedyCounting Medium

591 Tag Validator StringStack 37.00% Hard

1653 Minimum Deletions to Make String Balanced StringDynamic ProgrammingStack 58.30% Medium

2246 Longest Path With Different Adjacent ArrayStringTreeDepth-First 44.30%


Characters SearchGraphTopological Sort Hard

@Chandanagrawal23
# Title Tags Acceptance Difficulty

768 Max Chunks To Make Sorted II ArrayStackGreedySortingMonotonic Stack 52.50% Hard

17 Letter Combinations of a Phone 55.20%


Number Hash TableStringBacktracking Medium

1239 Maximum Length of a 50.60%


Concatenated String with Unique
Characters ArrayStringBacktrackingBit Manipulation Medium

200 ArrayDepth-First SearchBreadth-First SearchUnion 55.80%


Number of Islands FindMatrix Medium

1267 ArrayDepth-First SearchBreadth-First SearchUnion 59.00%


Count Servers that Communicate FindMatrixCounting Medium

2259 Remove Digit From Number to 46.90%


Maximize Result StringGreedyEnumeration Easy

1275 Find Winner on a Tic Tac Toe 54.40%


Game ArrayHash TableMatrixSimulation Easy

498 Diagonal Traverse ArrayMatrixSimulation 57.70% Medium

588 Design In-Memory File System Hash TableStringDesignTrie 48.70% Hard

2035 Partition Array Into Two Arrays ArrayTwo PointersBinary SearchDynamic 18.00%
to Minimize Sum Difference ProgrammingBit ManipulationOrdered SetBitmask Hard

1236 Web Crawler StringDepth-First SearchBreadth-First SearchInteractive 66.10% Medium

1541 Minimum Insertions to Balance a 49.70%


Parentheses String StringStackGreedy Medium

1487 Making File Names Unique ArrayHash TableString 35.50% Medium

510 Inorder Successor in BST II TreeBinary Search TreeBinary Tree 61.20% Medium

43 Multiply Strings MathStringSimulation 38.50% Medium

@Chandanagrawal23
# Title Tags Acceptance Difficulty

25 Reverse Nodes in k-Group Linked ListRecursion 52.90% Hard

1031 Maximum Sum of Two Non- 59.40%


Overlapping Subarrays ArrayDynamic ProgrammingSliding Window Medium

285 Inorder Successor in BST TreeDepth-First SearchBinary Search TreeBinary Tree 48.00% Medium

224 Basic Calculator MathStringStackRecursion 41.00% Hard

1774 Closest Dessert Cost ArrayDynamic ProgrammingBacktracking 46.70% Medium

151 Reverse Words in a String Two PointersString 29.80% Medium

297 Serialize and Deserialize Binary StringTreeDepth-First SearchBreadth-First 54.70%


Tree SearchDesignBinary Tree Hard

10 Regular Expression Matching StringDynamic ProgrammingRecursion 28.30% Hard

453 Minimum Moves to Equal Array 55.30%


Elements ArrayMath Medium

380 Insert Delete GetRandom O(1) ArrayHash TableMathDesignRandomized 51.80% Medium

358 Hash TableStringGreedySortingHeap (Priority 37.40%


Rearrange String k Distance Apart Queue)Counting Hard

460 LFU Cache Hash TableLinked ListDesignDoubly-Linked List 40.10% Hard

849 Maximize Distance to Closest 47.50%


Person Array Medium

545 Boundary of Binary Tree TreeDepth-First SearchBinary Tree 44.10% Medium

79 Word Search ArrayBacktrackingMatrix 40.00% Medium

@Chandanagrawal23
# Title Tags Acceptance Difficulty

317 Shortest Distance from All Buildings ArrayBreadth-First SearchMatrix 43.10% Hard

54 Spiral Matrix ArrayMatrixSimulation 43.10% Medium

210 Depth-First SearchBreadth-First 47.60%


Course Schedule II SearchGraphTopological Sort Medium

186 Reverse Words in a String II Two PointersString 52.00% Medium

468 Validate IP Address String 26.40% Medium

443 String Compression Two PointersString 48.30% Medium

166 Fraction to Recurring Decimal Hash TableMathString 23.90% Medium

348 Design Tic-Tac-Toe ArrayHash TableDesignMatrix 57.50% Medium

277 Find the Celebrity Two PointersGreedyGraphInteractive 46.90% Medium

42 ArrayTwo PointersDynamic 57.90%


Trapping Rain Water ProgrammingStackMonotonic Stack Hard

1344 Angle Between Hands of a Clock Math 63.40% Medium

1546 Maximum Number of Non-Overlapping 47.20%


Subarrays With Sum Equals Target ArrayHash TableGreedyPrefix Sum Medium

642 Design Search Autocomplete System StringDesignTrieData Stream 48.60% Hard

1986 Minimum Number of Work Sessions to ArrayDynamic ProgrammingBacktrackingBit 32.90%


Finish the Tasks ManipulationBitmask Medium

44 Wildcard Matching StringDynamic ProgrammingGreedyRecursion 26.80% Hard

556 Next Greater Element III MathTwo PointersString 34.00% Medium

885 Spiral Matrix III ArrayMatrixSimulation 72.80% Medium

@Chandanagrawal23
# Title Tags Acceptance Difficulty

274 H-Index ArraySortingCounting Sort 38.00% Medium

394 Decode String StringStackRecursion 57.10% Medium

426 Convert Binary Search Tree to Linked ListStackTreeDepth-First SearchBinary Search 64.60%
Sorted Doubly Linked List TreeBinary TreeDoubly-Linked List Medium

1044 StringBinary SearchSliding WindowRolling HashSuffix 30.70%


Longest Duplicate Substring ArrayHash Function Hard

103 Binary Tree Zigzag Level Order 54.80%


Traversal TreeBreadth-First SearchBinary Tree Medium

49 Group Anagrams ArrayHash TableStringSorting 65.50% Medium

99 Recover Binary Search Tree TreeDepth-First SearchBinary Search TreeBinary Tree 49.90% Medium

2171 Removing Minimum Number of 41.70%


Magic Beans ArraySortingPrefix Sum Medium

362 Design Hit Counter ArrayHash TableBinary SearchDesignQueue 68.00% Medium

127 Word Ladder Hash TableStringBreadth-First Search 36.40% Hard

359 Logger Rate Limiter Hash TableDesign 75.40% Easy

622 Design Circular Queue ArrayLinked ListDesignQueue 49.00% Medium

528 Random Pick with Weight MathBinary SearchPrefix SumRandomized 46.20% Medium

253 Meeting Rooms II ArrayTwo PointersGreedySortingHeap (Priority Queue) 50.20% Medium

212 Word Search II ArrayStringBacktrackingTrieMatrix 37.20% Hard

240 Search a 2D Matrix II ArrayBinary SearchDivide and ConquerMatrix 50.30% Medium

# Title Tags Acceptance Difficulty

@Chandanagrawal23
56 Merge Intervals ArraySorting 45.70% Medium

845 ArrayTwo PointersDynamic 40.10%


Longest Mountain in Array ProgrammingEnumeration Medium

4 Median of Two Sorted Arrays ArrayBinary SearchDivide and Conquer 34.90% Hard

2134 Minimum Swaps to Group All 1's 49.50%


Together II ArraySliding Window Medium

489 Robot Room Cleaner BacktrackingInteractive 76.40% Hard

934 ArrayDepth-First SearchBreadth-First 53.70%


Shortest Bridge SearchMatrix Medium

1032 Stream of Characters ArrayStringDesignTrieData Stream 51.50% Hard

1712 Ways to Split Array Into Three 32.40%


Subarrays ArrayTwo PointersBinary SearchPrefix Sum Medium

155 Min Stack StackDesign 51.40% Medium

15 3Sum ArrayTwo PointersSorting 32.00% Medium

863 TreeDepth-First SearchBreadth-First SearchBinary 61.90%


All Nodes Distance K in Binary Tree Tree Medium

158 Read N Characters Given read4 II - Call 41.30%


Multiple Times StringSimulationInteractive Hard

134 Gas Station ArrayGreedy 44.90% Medium

24 Swap Nodes in Pairs Linked ListRecursion 59.90% Medium

486 ArrayMathDynamic ProgrammingRecursionGame 50.70%


Predict the Winner Theory Medium

23 Linked ListDivide and ConquerHeap (Priority 48.10%


Merge k Sorted Lists Queue)Merge Sort Hard

129 Sum Root to Leaf Numbers TreeDepth-First SearchBinary Tree 58.20% Medium

@Chandanagrawal23
# Title Tags Acceptance Difficulty

8 String to Integer (atoi) String 16.60% Medium

41 First Missing Positive ArrayHash Table 36.40% Hard

295 Two PointersDesignSortingHeap (Priority Queue)Data 51.00%


Find Median from Data Stream Stream Hard

33 Search in Rotated Sorted Array ArrayBinary Search 38.40% Medium

560 Subarray Sum Equals K ArrayHash TablePrefix Sum 44.10% Medium

692 Hash TableStringTrieSortingHeap (Priority 55.00%


Top K Frequent Words Queue)Bucket SortCounting Medium

836 Rectangle Overlap MathGeometry 43.30% Easy

1190 Reverse Substrings Between Each 65.90%


Pair of Parentheses StringStack Medium

37 Sudoku Solver ArrayBacktrackingMatrix 56.10% Hard

451 Hash TableStringSortingHeap (Priority Queue)Bucket 68.40%


Sort Characters By Frequency SortCounting Medium

1342 Number of Steps to Reduce a 85.70%


Number to Zero MathBit Manipulation Easy

706 Design HashMap ArrayHash TableLinked ListDesignHash Function 65.20% Easy

269 ArrayStringDepth-First SearchBreadth-First 35.20%


Alien Dictionary SearchGraphTopological Sort Hard

419 Battleships in a Board ArrayDepth-First SearchMatrix 74.40% Medium

1551 Minimum Operations to Make Array 81.00%


Equal Math Medium

438 Find All Anagrams in a String Hash TableStringSliding Window 48.80% Medium

@Chandanagrawal23
# Title Tags Acceptance Difficulty

368 Largest Divisible Subset ArrayMathDynamic ProgrammingSorting 41.10% Medium

428 Serialize and Deserialize N-ary Tree StringTreeDepth-First SearchBreadth-First Search 65.00% Hard

1884 Egg Drop With 2 Eggs and N Floors MathDynamic Programming 70.30% Medium

1146 Snapshot Array ArrayHash TableBinary SearchDesign 37.30% Medium

1326 Minimum Number of Taps to Open 47.80%


to Water a Garden ArrayDynamic ProgrammingGreedy Hard

1763 Hash TableStringDivide and ConquerBit 61.70%


Longest Nice Substring ManipulationSliding Window Easy

138 Copy List with Random Pointer Hash TableLinked List 49.90% Medium

1836 Remove Duplicates From an 69.30%


Unsorted Linked List Hash TableLinked List Medium

886 Depth-First SearchBreadth-First SearchUnion 48.20%


Possible Bipartition FindGraph Medium

843 Guess the Word ArrayMathStringInteractiveGame Theory 42.30% Hard

THANKS
Practice as much as you can

@Chandanagrawal23

You might also like