The Wayback Machine - https://web.archive.org/web/20240909220837/https://www.geeksforgeeks.org/microsoft-topics-interview-preparation/
Open In App

Microsoft Topics for Interview Preparation

Last Updated : 26 Jun, 2024
Summarize
Comments
Improve
Suggest changes
Like Article
Like
Save
Share
Report
News Follow

Easy Level

  1. Binary representation of a given number
  2. Find max in struct array
  3. Find if two rectangles overlap
  4. Calculate the difficulty of a sentence
  5. Check if a linked list is Circular Linked List
  6. Converting Decimal Number lying between 1 to 3999 to Roman Numerals
  7. Count distinct elements in every window of size k
  8. Count all possible paths from top left to bottom right of a mXn matrix
  9. Evaluate a boolean expression represented as string
  10. Find common elements in three sorted arrays
  11. Find the number closest to n and divisible by m
  12. Find position of the only set bit
  13. Find the Missing Number
  14. Inplace rotate square matrix by 90 degrees | Set 1
  15. k largest(or smallest) elements in an array | added Min Heap method
  16. Level Order Tree Traversal
  17. Merge Sort
  18. Run Length Encoding
  19. Sort all even numbers in ascending order and then sort all odd numbers in descending order
  20. Square root of an integer
  21. Stack Data Structure (Introduction and Program)
  22. URLify a given string (Replace spaces is %20)
  23. Find the middle of a given linked list in C and Java
  24. Write an Efficient Function to Convert a Binary Tree into its Mirror Tree
  25. Write one line C function to find whether a no is power of two
  26. Write your own atoi()
  27. Add two numbers represented by linked lists | Set 1
  28. Anagram Substring Search (Or Search for all permutations)
  29. Binary Search Tree | Set 1 (Search and Insertion)
  30. Boundary Traversal of binary tree
  31. Breadth First Traversal or BFS for a Graph
  32. Check if binary representation of a number is palindrome
  33. Construct Tree from given Inorder and Preorder traversals
  34. Convert a given tree to its Sum Tree
  35. Converting Roman Numerals to Decimal lying between 1 to 3999
  36. Count Inversions in an array | Set 1 (Using Merge Sort)
  37. Delete middle of linked list
  38. Design a stack that supports getMin() in O(1) time and O(1) extra space
  39. Diameter of a Binary Tree
  40. Dynamic Programming | Set 10 ( 0-1 Knapsack Problem)
  41. Dynamic Programming | Set 15 (Longest Bitonic Subsequence)
  42. Find all strings that match specific pattern in a dictionary
  43. Find Excel column name from a given column number
  44. Find the minimum element in a sorted and rotated array
  45. Find next greater number with same set of digits
  46. Find N’th item in a set formed by sum of two arrays
  47. Find the element that appears once
  48. Find the row with maximum number of 1s
  49. Find the two non-repeating elements in an array of repeating elements
  50. Function to check if a singly linked list is palindrome
  51. Generate n-bit Gray Codes
  52. Given only a pointer/reference to a node to be deleted in a singly lin
  53. How to determine if a binary tree is height-balanced?
  54. Intersection of two Sorted Linked Lists
  55. Length of the longest substring without repeating characters
  56. Level order traversal in spiral form
  57. Lowest Common Ancestor in a Binary Tree | Set 1
  58. Lowest Common Ancestor in a Binary Search Tree.
  59. Majority Element
  60. Maximum Product Subarray
  61. Maximum width of a binary tree
  62. Merge two sorted linked lists such that merged list is in reverse order
  63. Merge two sorted linked lists
  64. Microsoft Interview experience | Set 100 (On Campus for Internship on IDC and IT)
  65. Minimum time required to rot all oranges
  66. Mobile Numeric Keypad Problem
  67. Number of buildings facing the sun
  68. Pairwise swap elements of a given linked list
  69. Print a given matrix in spiral form
  70. Print a pattern without using any loop
  71. Print all Jumping Numbers smaller than or equal to a given value
  72. Print all subarrays with 0 sum
  73. Print BST keys in the given range
  74. Print level order traversal line by line
  75. Print nodes at k distance from root
  76. Print the string by ignoring alternate occurrences of any character
  77. Program to add two binary strings
  78. Program to validate an IP address
  79. Implement Queue using Stacks
  80. Remove all duplicates from a given string
  81. Remove every k-th node of the linked list
  82. Reverse Level Order Traversal
  83. Reverse words in a given string
  84. Root to leaf path sum equal to a given number
  85. Search a Word in a 2D Grid of characters
  86. Search an element in a sorted and rotated array
  87. Sort a linked list of 0s, 1s and 2s
  88. Sort an array of 0s, 1s and 2s
  89. Sorted insert for circular linked list
  90. Stock Buy Sell to Maximize Profit
  91. The Celebrity Problem
  92. Tree Isomorphism Problem
  93. Two elements whose sum is closest to zero
  94. Union and Intersection of two Linked Lists
  95. Given an a
  96. Write a function to reverse a linked list
  97. Write Code to Determine if Two Trees are Identical

Medium Level

  1. A program to check if a binary tree is BST or not
  2. Boggle | Set 2 (Using Trie)
  3. Check if a binary tree is subtree of another binary tree | Set 2
  4. Dynamic Programming | Set 33 (Find if a string is interleaved of two other stri
  5. Clone a linked list with next and random pointer | Set 2
  6. Combinational Sum
  7. Connect nodes at same level
  8. Construct Binary Tree from given Parent Array representation
  9. Program to convert a given number to words
  10. Count number of binary strings without consecutive 1’s
  11. Detect and Remove Loop in a Linked List
  12. Detect Cycle in a Directed Graph
  13. Dynamic Programming | Set 22 (Box Stacking Problem)
  14. Dynamic Programming | Set 8 (Matrix Chain Multiplication)
  15. Factorial of a large number
  16. Find the first circular tour that visits all petrol pumps
  17. Find all distinct subsets of a given set
  18. Find Excel column name from a given column number
  19. Find the first non-repeating character from a stream of characters
  20. Find four elements that sum to a given value | Set 2 ( O(n^2Logn) Solution)
  21. Find next greater number with same set of digits
  22. Find the number of islands | Set 1 (Using DFS)
  23. Flattening a Linked List
  24. How to design a tiny URL or URL shortener?
  25. K’th Smallest/Largest Element in Unsorted Array | Set 2 (Expected Linear Time)
  26. Largest Rectangular Area in a Histogram | Set 2
  27. Largest Sum Contiguous Subarray
  28. Length of longest palindrome list in a linked list using O(1) extra space
  29. Dynamic Programming | Set 29 (Longest Common Substring)
  30. Longest Even Length Substring such that Sum of First and Second Half is same
  31. Maximum size rectangle binary sub-matrix with all 1s
  32. Merge k sorted arrays | Set 1
  33. Merge two BSTs with limited extra space
  34. Minimum steps to reach a destination
  35. Multiply Large Numbers represented as Strings
  36. Placements | QA | Progressions
  37. Print all nodes that are at distance k from a leaf node
  38. Printing brackets in Matrix Chain Multiplication Problem
  39. Reverse a Linked List in groups of given size
  40. Sort an array according to the order defined by another array
  41. Topological Sorting
  42. Trapping Rain Water
  43. Validity of a given Tic-Tac-Toe board configuration
  44. Given an a
  45. Write a function to get the intersection point of two Linked Lists.
  46. Write an Efficient Method to Check if a Number is Multiple of 3

Hard Level

  1. Backtracking | Set 7 (Sudoku)
  2. Dynamic Programming | Set 37 (Boolean Parenthesization Problem)
  3. Find Recurring Sequence in a Fraction
  4. Two nodes of a BST are swapped, correct the BST
  5. Implement a Phone Directory
  6. Implement LRU Cache
  7. Manacher’s Algorithm – Linear Time Longest Palindromic Substring – Part 1
  8. Median in a stream of integers (running integers)
  9. Travelling Salesman Problem | Set 1 (Naive and Dynamic Programming)


Previous Article
Next Article

Similar Reads

Amazon topics for Interview Preparation
Table of Content Easy LevelMedium LevelHard LevelEasy LevelHow to check if given four points form a squareCheck if a string can be obtained by rotating another string 2 placesFind the nearest smaller numbers on left side in an arrayFind if two rectangles overlapPair with given product | Set 1 (Find if any pair exists)Position of rightmost set bitPr
13 min read
Samsung Topics for Interview Preparation
Table of Content Easy LevelMedium LevelEasy LevelProgram to find sum of prime numbers between 1 to nCount number of bits to be flipped to convert A to BHeap SortQueue | Set 2 (Linked List Implementation)Stack Data Structure (Introduction and Program)Swap two nibbles in a byteFind the middle of a given linked list in C and JavaWrite a program to pri
2 min read
Adobe Topics for Interview Preparation
Table of Content Easy LevelMedium Level Hard Level Easy LevelCheck if a number is PalindromeCheck if a given Binary Tree is SumTreeCount pairs (a, b) whose sum of cubes is N (a^3 + b^3 = N)Count set bits in an integerProgram for Binary To Decimal ConversionQuickSortFind the middle of a given linked list in C and JavaWrite an Efficient Function to C
3 min read
Flipkart Topics for Interview Preparation
Table of Content Easy LevelMedium LevelHard LevelEasy LevelChocolate Distribution ProblemInteresting Facts about Bitwise Operators in CLevel Order Tree TraversalSum of dependencies in a graphFind the middle of a given linked list in C and JavaAdd two numbers represented by linked lists | Set 1Breadth First Traversal or BFS for a GraphCount Inversio
2 min read
Google Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelFind all triplets with zero sumGenerate all binary strings from given patternCount of strings that can be formed using a, b and c under given constraintsFind largest word in dictionary by deleting some characters of given stringFind subarray with given sum | Set 1 (Nonnegative Numbers)Find
2 min read
Facebook Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelConverting Decimal Number lying between 1 to 3999 to Roman NumeralsFind all triplets with zero sumLargest subset whose all elements are Fibonacci numbersCalculate maximum value using '+' or '*' sign between two numbers in a stringConvert Ternary Expression to a Binary TreeConverting Roman
1 min read
Goldman Sachs Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelFind if two rectangles overlapCheck if a given Binary Tree is SumTreeCheck if two arrays are equal or notMerge SortQueue | Set 1 (Introduction and Array Implementation)QuickSortUgly NumbersFind Excel column name from a given column numberGiven a string, find its first non-repeating charact
1 min read
DE Shaw Topics for Interview Preparation
Table of Content Easy LevelMedium LevelEasy LevelLevel Order Tree TraversalCheck if two trees are MirrorLevel Order Tree TraversalPrint all nodes that don't have siblingA Product Array PuzzleCopy set bits in a rangeFind the element that appears once in a sorted arrayGiven a string, find its first non-repeating characterImplement Stack using QueuesI
1 min read
Visa topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelHeap SortStack Data Structure (Introduction and Program)Dynamic Programming | Set 10 ( 0-1 Knapsack Problem)Find subarray with given sum | Set 1 (Nonnegative Numbers)Given only a pointer/reference to a node to be deleted in a singly linSearch in a row wise and column wise sorted matrixMedi
1 min read
Paytm Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelSegregate 0s and 1s in an arrayC Program to Check if a Given String is PalindromeC program to multiply two matricesCalculate the angle between hour hand and minute handCount frequencies of all elements in array in O(1) extra space and O(n) timeFind the minimum distance between two numbersM
2 min read
Morgan-Stanley Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelBubble SortCount numbers from 1 to n that have 4 as a a digitHeap SortLargest even number possible by using one swap operation in given numberMinimum number of distinct elements after removing m itemsQuickSortRemove duplicates from sorted arraySwap Kth node from beginning with Kth node fro
1 min read
SAP Topics for Interview Preparation
Easy LevelBubble SortHeap SortQuickSortReverse words in a given stringSort a linked list of 0s, 1s and 2sWrite a function to reverse a linked listMedium Level Check if a number is Bleak Hard Level Median in a stream of integers (running integers)
1 min read
MAQ Software Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelWrite a C program to reverse digits of a numberWrite a program to reverse an array or stringArray RotationProgram for array rotationCheck if a linked list is Circular Linked ListProgram for Fibonacci numbersFind the middle of a given linked list in C and JavaWrite a program to print all pe
1 min read
Ola-Cabs Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelFind the element that appears onceA Boolean Matrix QuestionFind the Missing NumberLevel Order Tree TraversalSquare root of an integerWrite an Efficient Function to Convert a Binary Tree into its Mirror TreeFind the character in first string that is present at minimum index in second string
2 min read
vmware Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelWrite a program to reverse an array or stringA Boolean Matrix QuestionCount frequencies of all elements in array in O(1) extra space and O(n) timeFind common elements in three sorted arraysProgram for Armstrong NumbersRun Length EncodingSieve of EratosthenesFind the middle of a given linke
1 min read
Directi Topics for Interview Preparation
Table of Content Easy Level Medium LevelHard LevelEasy LevelCount number of strings (made of R, G and B) using given combinationFind Maximum dot product of two arrays with insertion of 0'sFind the maximum path sum between two leaves of a binary treeK-Nearest NeighboursLargest sum Zigzag sequence in a matrixN-th root of a numberPrint all Jumping Num
1 min read
Cisco Topics for Interview Preparation
Easy LevelBubble SortCount set bits in an integerFind the Missing NumberHow to check if a given array represents a Binary Heap?Level Order Tree TraversalWrite a program to print all permutations of a given stringInsertion SortReverse words in a given stringSorted Array to Balanced BSTWrite a function to reverse a linked listMedium Level Greedy Algo
1 min read
Microsoft Interview Preparation
Microsoft Corporation, the name itself tells a lot about it. An American multinational technology corporation of personal computer software systems and applications, owned by Bill Gates. Under the umbrella of Microsoft, there are over 101 products, services, & apps, you probably don’t know about. To land a job for a role of SDE at Microsoft is
2 min read
Cloud Architect Interview Topics
Having interviewed dozens of candidates, this is a list of topics that I typically expect any cloud architect to be able to answer. The focus is on hands-on expertise - not diagrams and exam questions. To that end, most of these questions can reveal the extent of a candidate's hands-on experience (originally published here on medium - https://mediu
6 min read
Microsoft Interview experience for full time position of software engineer at Microsoft Ireland Research
Position: Senior software engineer - Office 365 team I initially applied for senior software engineer position in Office 365 Team in Dublin, Ireland in Aug 2018. After a month I received a phone call from the recruiter for a quick chat about my current situation. He asked me the following questions: 1) Why have you applied for this position? 2) Wha
8 min read
Interview Experience: Microsoft Engage Program 2023 - SWE Intern at Microsoft
Introduction Being selected as a SWE intern at Microsoft through the Microsoft Engage Program was a significant milestone in my software engineering journey. The selection process involved resume screening, technical assessments, project selection and interview rounds. Here's a brief overview of each stage: Application Selection Round:Resumes were
4 min read
Microsoft Interview Experience for SWE Intern (Microsoft Engage)
Introduction: It all started with my selection to the Microsoft Intern Engage Program for 2022. I submitted my final project 10 minutes before the deadline (Yup, I'm strict with deadlines...LOL!!!) and had no hope of even getting the interview call (that last-moment panic you know, it will never let you think positive). After around 20 days of subm
3 min read
Microsoft Interview Experience (via Microsoft Engage)
Microsoft Engage is a program for 2nd year B.Tech Undergrads to get a chance to work at Microsoft. I was selected among the top 3000 students all over India for Microsoft Engage Program 2022. Based on my project I got a call for an interview at Microsoft. Round 1 (Technical) IntroductionThe interviewer gave a link to an IDE (Codility) and asked to
1 min read
Microsoft to Take Xbox Everywhere: Microsoft's New Move
Microsoft is gearing up to redefine the gaming industry with a new strategy for the Xbox platform. Recent rumors suggest that Microsoft is on the move to bring exclusive Xbox games to rival consoles such as the PlayStation 5 and Nintendo Switch. This shows Microsoft's commitment to growth and expansion in the competitive gaming landscape. Xbox Game
3 min read
Zoho Interview Preparation Process and Experience
Zoho is one of the best product based company in India with friendly environment. Many engineers are passionate toward coding nowadays. But many face lot of difficulty in cracking the interview. There are few tips i like to share based on my interview experience and past guidance from my college staff and seniors. There are three stage to crack the
2 min read
Microsoft Interview Interview Experience for Full Time
Microsoft Visited our campus for full time and internships. Round 1 (online Test) : it was a 90 min coding round hosted on cocubes. Three questions were asked (2 Marks): https://www.geeksforgeeks.org/round-the-given-number-to-nearest-multiple-of-10/ (3 Marks): construct a binary search tree with the help of given post order traversal. (5 Marks): ht
5 min read
TCS Digital Experience 2019 | Last Minute Preparation
Hello guys, TCS Digital 2019 results are out and I am kinda surprised. I really like to share my experience with you all, because it was a real surprise for me. If you are a first or second year student, that's great ! You have a lot of time to get prepared. So don't be pressured. Take your time and try learning new technologies as much as you can.
4 min read
How I cracked EPAM Systems Drive 2020- Complete Guide On Preparation and FAQs
EPAM is one of the dream-job for freshers nowadays which is getting exponentially popular. This is a product based company where you'll provide end-to-end solutions to clients and do product development being a fresher only. As not many of the engineering students are aware of the EPAM drive completely and how to do it, I'll just help everyone out
11 min read
Preparation for Skype Interviews
Skype interviews are new normal nowadays. The outbreak of COVID-19 has affected each and every sector not only in India but even in the entire world. This global spread has made an impact on the sectors from retailing to big top-notch tech companies. Initially, the unemployment rate has reached 26% at the starting of April 2020 as mentioned on the
5 min read
Off-Campus Placement Preparation
Off campus placements can be really tiring and intimidating at times and requires an additional effort of contacting the recruiter and getting shortlisted for the selection process of the company and hence factors like resume building, past work experience, etc. comes into play. Major differences between on campus and off campus placements can be f
3 min read
Practice Tags :