in first round - 1.design database table that can store comments like facebook. but there could be hierarchy of replies possible. design table to store them and query them in a way that each complete set of comments with their reply can be resulted. 2.Design ranking system, like in oyo room, there could be different ranking systems like user feedback and audit feedback etc. you should allow user to query all of them or few of them. the query should be generic enough. In second round- 1. calculate a to the power of n (interviewer was under impression that in order to do that u have to multiply a n times :D). optimize it to logn. 2. in an array every number present in pairs except one. find out one number which is not present in pair. (u can't sort or use extra space). (again this funny interviewer wanted to use bit-wise operator xOr to solve this which he was rigid. )
Software Senior Interview Questions
75,641 software senior interview questions shared by candidates
Middle element in linked list
Mention a few designer patterns
This is what happened. The recruiter reached out to me for some hiring event. She canceled twice. Both times I had to WFH or take some time away from work. The last time she canceled was after I waited 10 mins and pinged her. The response was classic. You are too senior for the job posting and ill keep your resume on file if there are opportunities that are suitable for you. Microsoft hiring community - At least have some decency to treat other's time with respect. There is a reason why your hiring process has got a bad reputation.
Write code to sum the values contained in two memory slots into a third memory slot, using only 3 instructions: zero <slot> increment <slot> jlt <slot1>,<slot2> <location>, where jlt=jump to <location> if <slot1>is less than <slot2>.
1 Leetcode medium , 1 Leetcode easy/medium (depends on your familiarity with tree manipulation) 1 System Design Question - Typical system design scenario but once again picked at random.
Given two arrays: arr1[0..m-1] and arr2[0..n-1]. Find whether arr2[] is a subset of arr1[] or not. Both the arrays are not in sorted order. It may be assumed that elements in both array are distinct.
Write a method to output the Fibonacci sequence.
"Ok, well do you have any questions for me?"
Q2: Do you know OOP? How would describe this to someone using C?
Viewing 911 - 920 interview questions