Tip 1 : Practice medium level questions related to linked lists and priority queues
Tip 2 : Practice coding on notepad instead of using any IDE
Tip 3 : Do mock interviews to get proficient with System Design interviews
Tip 1 : Keep resume short and only include details relevant to the job being applied to
Tip 2 : Mention any community engagements or open source projects on the resume
It took place during the day time. The interviewer clearly explained the problem and encouraged me to ask any clarifying questions.
You are given ‘ARR’ = {1, 2, 2, 3, 3} and ‘K’ = 2.
The answer will {2, 3} as 2 and 3 are the elements occurring most times.
I solved the question using binary heap and used a Priority Queue to solve it using C# language.
1. Any left parenthesis '(' must have a corresponding right parenthesis ')'.
2. Any right parenthesis ')' must have a corresponding left parenthesis '('.
3. Left parenthesis '(' must go before the corresponding right parenthesis ')'.
4. '*' could be treated as a single right parenthesis ')' or a single left parenthesis '(' or an empty string.
5. An empty string is also valid.
Interview took place during the evening. The interviewer was a senior person but very supportive during the interview process.
I used the Depth First Search methodology to solve this problem using recursion. For every '1' encountered, I called a helper method that would convert all the '1's to '0's recursively. I incremented the result counter only before calling the helper method from the main method. That way all the '1's connected to the initial '1' were converted to '0' and I only got the number of islands in the result.
Insertion Sort is a sorting algorithm that removes one element from the input data, finds the location it belongs within the sorted list and inserts it there. It repeats until no input elements remain.
Interview took place during day time and the interviewer was the hiring manager.
The problem was to design an application similar to DropBox or OneDrive that can be used to upload and access documents from multiple client devices.
Tip 1 : Follow System Design videos on YouTube to grasp the basic concepts around different components involved in designing scalable and reliable solutions
Tip 2 : Do mock interviews for practice
Tip 3 : Practice designing apps that are being used in daily life using a pen and paper
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which SQL keyword removes duplicate records from a result set?