Top Questions from Microsoft
Total 58 questions. Introduction Top interview questions asked by Microsoft as voted by the LeetCode community. LeetCode compiled this list…
Be a Good Techer and Tech for Good. www.goodtecher.com
Total 58 questions. Introduction Top interview questions asked by Microsoft as voted by the LeetCode community. LeetCode compiled this list…
Description https://leetcode.com/problems/word-ladder/ Given two words (beginWord and endWord), and a dictionary’s word list, find the length of shortest transformation sequence from beginWord to endWord, such…
Description https://leetcode.com/problems/merge-k-sorted-lists/ You are given an array of k linked-lists lists, each linked-list is sorted in ascending order. Merge all the linked-lists into…
Description https://leetcode.com/problems/multiply-strings/ Given two non-negative integers num1 and num2 represented as strings, return the product of num1 and num2, also represented as a string. Note: You must not…
Description https://leetcode.com/problems/number-of-recent-calls/ You have a RecentCounter class which counts the number of recent requests within a certain time frame. Implement the RecentCounter class: RecentCounter() Initializes…
Description https://leetcode.com/problems/maximum-distance-in-arrays/ Given m arrays, and each array is sorted in ascending order. Now you can pick up two integers from two…
Description https://leetcode.com/problems/next-permutation/ Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If such arrangement is not…
Description https://leetcode.com/problems/minimum-cost-to-hire-k-workers/ There are n workers. You are given two integer arrays quality and wage where quality[i] is the quality of the ith worker and wage[i] is the minimum wage expectation for…
Description https://leetcode.com/problems/compare-version-numbers/ Given two version numbers, version1 and version2, compare them. Version numbers consist of one or more revisions joined by a dot ‘.’. Each revision consists…
Description https://leetcode.com/problems/word-squares/ Given a set of words (without duplicates), find all word squares you can build from them. A sequence of words forms…