Top Microsoft Coding Interview Questions
Filters
+ 23 more
+ 36 more
Train hard for the Microsoft Interview with a handy guide of microsoft interview questions and common interview questions that can help you nail different rounds at Microsoft.
Problem Title
Difficulty
Avg Time to solve
Attempted
Word Wrap NEW
40
Moderate
20 mins
390
Shortest path in an unweighted graph NEW
28
Moderate
25 mins
677
Node Level NEW
12
Easy
15 mins
209
Sum At Kth Level NEW
3
Easy
15 mins
379
Compress the String NEW
11
Moderate
25 mins
342
Special String NEW
1
Moderate
25 mins
41
Convert A Given Binary Tree To Doubly Linked List NEW
8
Moderate
15 mins
347
Longest Mountain Subarray NEW
33
Easy
10 mins
958
Total Number of BSTs using array elements as root node NEW
4
Moderate
15 mins
305
Buses NEW
7
Moderate
15 mins
168
Kth Smallest Element NEW
17
Easy
15 mins
696
Swap Number Without Temporary Variable NEW
7
Easy
15 mins
593
Minimum steps to reach target by a Knight NEW
14
Moderate
25 mins
573
Diagonal Traversal NEW
8
Moderate
20 mins
254
Roots Of A Quadratic Equation NEW
1
Easy
15 mins
63
Find All Triplets With Zero Sum NEW
25
Moderate
30 mins
1925
Total area of overlapping rectangles NEW
6
Easy
10 mins
63
Longest Palindromic Subsequence NEW
9
Hard
45 mins
807
Euler’s Totient Function NEW
3
Easy
15 mins
174
Maximum sum of two non-overlapping subarrays of a given size NEW
36
Moderate
15 mins
922
Nth Element Of Modified Fibonacci Series NEW
1
Easy
15 mins
274
Palindrome Partitioning NEW
10
Moderate
25 mins
443
Dice Throws NEW
5
Hard
35 mins
308
Reverse Linked List NEW
71
Moderate
15 mins
5161
Mean Median Mode NEW
5
Easy
10 mins
304
Word Wrap NEW
Moderate
40 upvotes
Shortest path in an unweighted graph NEW
Moderate
28 upvotes
Node Level NEW
Easy
12 upvotes
Sum At Kth Level NEW
Easy
3 upvotes
Compress the String NEW
Moderate
11 upvotes
Special String NEW
Moderate
1 upvote
Convert A Given Binary Tree To Doubly Linked List NEW
Moderate
8 upvotes
Longest Mountain Subarray NEW
Easy
33 upvotes
Total Number of BSTs using array elements as root node NEW
Moderate
4 upvotes
Buses NEW
Moderate
7 upvotes
Kth Smallest Element NEW
Easy
17 upvotes
Swap Number Without Temporary Variable NEW
Easy
7 upvotes
Minimum steps to reach target by a Knight NEW
Moderate
14 upvotes
Diagonal Traversal NEW
Moderate
8 upvotes
Roots Of A Quadratic Equation NEW
Easy
1 upvote
Find All Triplets With Zero Sum NEW
Moderate
25 upvotes
Total area of overlapping rectangles NEW
Easy
6 upvotes
Longest Palindromic Subsequence NEW
Hard
9 upvotes
Euler’s Totient Function NEW
Easy
3 upvotes
Maximum sum of two non-overlapping subarrays of a given size NEW
Moderate
36 upvotes
Nth Element Of Modified Fibonacci Series NEW
Easy
1 upvote
Palindrome Partitioning NEW
Moderate
10 upvotes
Dice Throws NEW
Hard
5 upvotes
Reverse Linked List NEW
Moderate
71 upvotes
Mean Median Mode NEW
Easy
5 upvotes
Top Problem Lists
Top Maths and Number Theory Questions
Mohammad Fraz Beginner DSA Sheet Problems
Love Babbar DSA Sheet Problems
Top 100 SQL Problems
Mohammad Fraz DSA Sheet Problems
Nishant Chahar SDE Sheet Problems
Siddharth Singh Coding Sheet Problems
Striver SDE Sheet Problems
Top Graphs Interview Questions
Top Trees Interview Questions
Top Uber Coding Interview Questions
Top Apple Coding Interview Questions
Top Recursion And Backtracking Interview Questions
Top E-commerce (Flipkart, Snapdeal, etc.) Interview Questions
Book - Cracking The Coding Interview Questions
Top Dynamic Programming Questions
Top Fintech Software Engineer Interview Questions
Top Adobe Coding Interview Questions
Top Facebook Coding Interview Questions
Top Google Coding Interview Questions
Top Array Coding Interview Questions
Top Microsoft Coding Interview Questions