Warren
Interview experiences shared by candidates.
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...
Graphite | Software Engineer (Senior) | Coding | Phone Screen
Software Engineer
Graphite Phone Interview Question: """ Given a list of letters, return all possible permutations of the letters Input: ['a', 't', 'c'] Output: [ ['a', 't', 'c'], ['a', 'c', 't'], ['t', 'c', 'a'], ['t', 'a', 'c'], ['c', '...
Postman | Senior Software Engineer - Monetization (Senior) | Coding | Onsite
Senior Software Engineer - Monetization
Coding Implement a task scheduler with priority Interface TaskScheduler { addTask(task) pollTask() } Task Id Name priority 1 A 2 2 B 4 3 C 1 4 D 2 Output for pollTask B A D C Same priority return task which was inserted...
Crowdstrike | Sr software engineer (Senior) | Coding | Phone Screen
Sr software engineer
Our system is generating QueryRequest objects that need to be stored and retrieved in the order in which they should be executed. A query request is a simple object like this: java public class QueryRequest { public Stri...