In a country, all families want a boy. They keep having babies till a boy is born. What is the expected ratio of boys and girls in the country?
Staff Engineer Interview Questions
5,885 staff engineer interview questions shared by candidates
Implement Restaurant on-line booking system Low Level Design. Implement Effective way to book a table.
Find (a) bug(s) in an already implemented medium-difficulty leet-code problem. Then refactor the solution.
Fairly straightforward design and behavioural questions. The interviews felt collaborative. Unlike a few other companies, I didn't get the sense they were trying to quiz me or expecting specific answers.
As mentioned in the description.
LRU Cache Implementation in 30 mins
1. How to get child records of a Parent record if given with it's sys_id. Child may contain more child records to it and should return all child records to the last level. 2. array has 'n' number of elements in it and you should print multiplication of those numbers excluding the number in first position in first iteration and second number in second iteration and so on.. ex: array has 1,2,3,4,5 it should print result in following way 2*3*4*5 1*3*4*5 1*2*4*5 1*2*3*4 3. create a text box with 0 as input by default on UI and create two buttons below as '+' , '-'. When + is clicked, 0 in the text input should become 1 and keep on increasing upon multiple clicks. When - is clicked, 0 should be decremented and so on..
Covered DSA, Programming language, Domain knowledge,
Assume that java does not provide a HashMap and write your own implementation of HashMap
Painting a list of houses using three different colors with minimum cost.
Viewing 4781 - 4790 interview questions