Microsoft Topics for Interview Preparation Easy Level Medium Level Hard Level Easy LevelBinary representation of a given numberFind max in struct arrayFind if two rectangles overlapCalculate the difficulty of a sentenceCheck if a linked list is Circular Linked ListConverting Decimal Number lying between 1 to 3999 to Roman NumeralsCount distinct elements in every window of size kCount all possible paths from top left to bottom right of a mXn matrixEvaluate a boolean expression represented as stringFind common elements in three sorted arraysFind the number closest to n and divisible by mFind position of the only set bitFind the Missing NumberInplace rotate square matrix by 90 degrees | Set 1k largest(or smallest) elements in an array | added Min Heap methodLevel Order Tree TraversalMerge SortRun Length EncodingSort all even numbers in ascending order and then sort all odd numbers in descending orderSquare root of an integerStack Data Structure (Introduction and Program)URLify a given string (Replace spaces is %20)Find the middle of a given linked list in C and JavaWrite an Efficient Function to Convert a Binary Tree into its Mirror TreeWrite one line C function to find whether a no is power of twoWrite your own atoi()Add two numbers represented by linked lists | Set 1Anagram Substring Search (Or Search for all permutations)Binary Search Tree | Set 1 (Search and Insertion)Boundary Traversal of binary treeBreadth First Traversal or BFS for a GraphCheck if binary representation of a number is palindromeConstruct Tree from given Inorder and Preorder traversalsConvert a given tree to its Sum TreeConverting Roman Numerals to Decimal lying between 1 to 3999Count Inversions in an array | Set 1 (Using Merge Sort)Delete middle of linked listDesign a stack that supports getMin() in O(1) time and O(1) extra spaceDiameter of a Binary TreeDynamic Programming | Set 10 ( 0-1 Knapsack Problem)Dynamic Programming | Set 15 (Longest Bitonic Subsequence)Find all strings that match specific pattern in a dictionaryFind Excel column name from a given column numberFind the minimum element in a sorted and rotated arrayFind next greater number with same set of digitsFind N'th item in a set formed by sum of two arraysFind the element that appears onceFind the row with maximum number of 1sFind the two non-repeating elements in an array of repeating elementsFunction to check if a singly linked list is palindromeGenerate n-bit Gray CodesGiven only a pointer/reference to a node to be deleted in a singly linHow to determine if a binary tree is height-balanced?Intersection of two Sorted Linked ListsLength of the longest substring without repeating charactersLevel order traversal in spiral formLowest Common Ancestor in a Binary Tree | Set 1Lowest Common Ancestor in a Binary Search Tree.Majority ElementMaximum Product SubarrayMaximum width of a binary treeMerge two sorted linked lists such that merged list is in reverse orderMerge two sorted linked listsMicrosoft Interview experience | Set 100 (On Campus for Internship on IDC and IT)Minimum time required to rot all orangesMobile Numeric Keypad ProblemNumber of buildings facing the sunPairwise swap elements of a given linked listPrint a given matrix in spiral formPrint a pattern without using any loopPrint all Jumping Numbers smaller than or equal to a given valuePrint all subarrays with 0 sumPrint BST keys in the given rangePrint level order traversal line by linePrint nodes at k distance from rootPrint the string by ignoring alternate occurrences of any characterProgram to add two binary stringsProgram to validate an IP addressImplement Queue using StacksRemove all duplicates from a given stringRemove every k-th node of the linked listReverse Level Order TraversalReverse words in a given stringRoot to leaf path sum equal to a given numberSearch a Word in a 2D Grid of charactersSearch an element in a sorted and rotated arraySort a linked list of 0s, 1s and 2sSort an array of 0s, 1s and 2sSorted insert for circular linked listStock Buy Sell to Maximize ProfitThe Celebrity ProblemTree Isomorphism ProblemTwo elements whose sum is closest to zeroUnion and Intersection of two Linked ListsGiven an aWrite a function to reverse a linked listWrite Code to Determine if Two Trees are IdenticalMedium LevelA program to check if a binary tree is BST or notBoggle | Set 2 (Using Trie)Check if a binary tree is subtree of another binary tree | Set 2Dynamic Programming | Set 33 (Find if a string is interleaved of two other striClone a linked list with next and random pointer | Set 2Combinational SumConnect nodes at same levelConstruct Binary Tree from given Parent Array representationProgram to convert a given number to wordsCount number of binary strings without consecutive 1'sDetect and Remove Loop in a Linked ListDetect Cycle in a Directed GraphDynamic Programming | Set 22 (Box Stacking Problem)Dynamic Programming | Set 8 (Matrix Chain Multiplication)Factorial of a large numberFind the first circular tour that visits all petrol pumpsFind all distinct subsets of a given setFind Excel column name from a given column numberFind the first non-repeating character from a stream of charactersFind four elements that sum to a given value | Set 2 ( O(n^2Logn) Solution)Find next greater number with same set of digitsFind the number of islands | Set 1 (Using DFS)Flattening a Linked ListHow to design a tiny URL or URL shortener?K'th Smallest/Largest Element in Unsorted Array | Set 2 (Expected Linear Time)Largest Rectangular Area in a Histogram | Set 2Largest Sum Contiguous SubarrayLength of longest palindrome list in a linked list using O(1) extra spaceDynamic Programming | Set 29 (Longest Common Substring)Longest Even Length Substring such that Sum of First and Second Half is sameMaximum size rectangle binary sub-matrix with all 1sMerge k sorted arrays | Set 1Merge two BSTs with limited extra spaceMinimum steps to reach a destinationMultiply Large Numbers represented as StringsPlacements | QA | ProgressionsPrint all nodes that are at distance k from a leaf nodePrinting brackets in Matrix Chain Multiplication ProblemReverse a Linked List in groups of given sizeSort an array according to the order defined by another arrayTopological SortingTrapping Rain WaterValidity of a given Tic-Tac-Toe board configurationGiven an aWrite a function to get the intersection point of two Linked Lists.Write an Efficient Method to Check if a Number is Multiple of 3Hard LevelBacktracking | Set 7 (Sudoku)Dynamic Programming | Set 37 (Boolean Parenthesization Problem)Find Recurring Sequence in a FractionTwo nodes of a BST are swapped, correct the BSTImplement a Phone DirectoryImplement LRU CacheManacher's Algorithm - Linear Time Longest Palindromic Substring - Part 1Median in a stream of integers (running integers)Travelling Salesman Problem | Set 1 (Naive and Dynamic Programming) Company Wise Coding Practice Topic Wise Coding Practice Load Comments Please Login to comment...