[ INFO ]category: Behavioral · Onsite difficulty: difficult freq: first seen: 2022-04-07
[DIFFICULT][ONSITE]OnsiteSWE III (Senior)Accepted
$catproblem.md
Interview Process:
Total Rounds ( 5 Technical + HR round)
Round 1: Java + OOPS
Start multiple threads in sequence, for example, we have 3 threads like T1, T2 and T3. T1 should finish first, followed by T2 and then T3.
I answered using the join() method, he immediately asked to write the same using wait() and notify() method without using join().
Lock vs Synchronized, which is better?
HashTable internal working [asked to write code]
Some general OOPS concepts like interface vs abstract class, multiple inheritance etc.
Round 2: DSA
Binary Tree Level Order Traversal (Leetcode)
Reverse Nodes in k-Group (Leetcode)
Round 3 : HLD
Design a distributed web crawler.
Which data structure to use to store seed URLs?
Which technique to use for crawling web pages?
Discussion on performance improvement and parsing of web pages content.
Round 4: HLD + LLD (Mixed)
Suppose we have a phone where 2 keys are not working out of 10 keys(0-9), how will you save a number? Need to tell the approach, no code needed. His focus was more on how to retrieve back the original number after saving.
Round 5: HM [It was completely technical round]
Sort the stream of integers coming as files, given that all numbers can’t be stored in RAM.
Copy List with Random Pointer (Leetcode)
Round 6: HR
Compensation breakup and detailed job descriptions.