Microsoft
43 interview experiences from candidates.
Microsoft | Software Engineer (Senior) | Coding + System Design | Round 1 + 2
Software Engineer
Coding Find the longest palindrome substring in a given string, the output should be the length of the string. Input: s = "babad" Output: 3 Explanation: "aba" is a valid answer. Design Create a high level design for Emer...
Microsoft | Service Engineer 2 (Mid Level) | Coding | Tech Screen
Service Engineer 2
Design a data structure that follows the constraints of a LRU Implement the LRUCache class: LRUCache(int capacity) Initialize the LRU cache with positive size capacity. int get(int key) Return the value of the key if the...
Microsoft | Senior Software Engineer | Coding + Design | Onsite
Senior Software Engineer
Coding 1 You're given an array of integers, such as [3, 4, 2, 3, 0, 3, 1, 2, 1] and a start Index. Your task is to figure out if you can reach value 0 in the array. When you& 39;re at an index i, you can only move left o...