Would like to share my interview experience with Adobe.
Interview Date: Aug 2019
Location: India
Type: Onsite
Experience : 6+ Year [Java-Backend & Spark ]
How day went
There were 4 onsite face to face round, with 30 min break after 2 round for lunch. All rounds were knock out round.
Face to Face
Round 1 : Data structure and Algo
1.General introduction
2.K Distance away node from a given node [https://leetcode.com/problems/all-nodes-distance-k-in-binary-tree/]
3.Difference between mutax and semaphore [https://www.geeksforgeeks.org/mutex-vs-semaphore/]
4.Design custom thread safe HashMap.
•Interviewer was very nice and we had really good discussion in 3rd question. I manage to touch 10's aspect to break my design and give him a possible solution to make it really optimize and concurrent.
Round 2 : Engineering Manager
1.Most challenging work & project deep dive
2.Design a Thread Safe cache that support both LFU and LRU; both should use same data structure. Type of eviction policy will be pass in constructor while creating of cache.
•Interviewer was kind a rude person. He was not letting me to finish most of the statement and keep forgetting what I’ve already explained earlier.
•He is also not was quite sure about the second question {Like seems he really don't know how LFU works , thread safety come in play only when multiple threads trying to access shared resource. }
Lunch break
Round 3 : Data structure and Algo
1.Given houses in circular manner, a robber need to rob maximum money from houses, conditioned that he cannot theft from adjacent houses. [https://leetcode.com/problems/house-robber-ii/]
2.Given an array of numbers where every element appears 3 times but only one number appears 1’s. Find that number which appeared 1’s [https://leetcode.com/problems/single-number-ii]
3.Design a data structure that support Top 10 words from Stream based on frequency. [https://leetcode.com/problems/top-k-frequent-words/]
•This interviewer was one of the best. We really had good discussion in problems. Specially in first problem.
•He was really impressed with me for second question.
Round 4: Technical architect; High Level and Api design
1.Design High level elevator system that should be configurable with ‘m’ floors{could be divided in chunks} and ’n’ lifts {could be divided in chunks}
2.{could be divided in chunks} Means a lift can operate only on some sub-set of floors from m floors {1…m)
3.[Idea from : https://medium.com/system-designing-interviews/design-a-elevator-system-fc5832ca0b8b]
4.Design a chat application service apis & its security aspect.
•Interviewer was decent and humble, he was in company about 12 years. I managed to ask him question regarding actual system design implications, career advices.
Round 5: Video conferencing {this round happen after 2 days of onsite interview }
1.Given a function f(), don’t have any arguments and return nothing.
1voidf(){2f();3}
a) What happens when u excuse the above program {stack overflow / memory exhaustion }
b) Given 8GB RAM, 2.5 GHz quad core processor. How much time it takes to tell you about the memory exhaustion
C) what happen when
1voidf(){2while(true);3}
same questions ‘what happen’, ‘how much time’
1.Given an array of 1000 numbers, your method multiply all the numbers and takes ‘x ms’ time.
2.2.1 Found the value of x, with above configuration
3.2.2 How do you optimise it {parallel , how many threes etc }
4.2.3 Time in which you solution works in ‘ms’
5.Design your own garbage collector
6.Questions on databases [ based on resume ]
7.Cassandra vs mysql [why, how, what… performance, use-cases, why did u choose one of them, what happen if you replace one with another etc ]
8.3-tier arch
9.How do you test 3 tier arch for performance bottleneck {various questions around it; nearly 10 }
10.Scalability
Solutions
Round 1:
1.K Distance away
12
Round 3:
Given houses in circular manner: Various solution, given few of them below