Tip 1 :focus on building problem solving approach and try to figure out various solutions for a single question.
Tip 2 : Master backtracking and recursion , it will help you lot in Trees, graph and dp problems and will help you in coming up with recurrence relations faster .
Tip 3 :Try to strike balance with development and coding as some basics of wed development . And try to maintain github repo of your work so that its easily representable.
Tip 1: Make sure that you have some projects and mention the technologies that you have worked with .
Tip 2: Dont try to copy paste from the internet as they are gonna grill you on those topics and it would be quite evident that its not true and would bring wrong impression .
Tip 3: Write the most imp skills in the order so that the chances that questions would be asked from them increases .
Tip 4: Go through some samples resumes and see how the ATS works .
The test comprised of 3 coding questions . One was hard and other 2 were medium level but required thorough understanding of DSA
1 -> The cell contains an apple that Alice can pick up and pass through it.
-1 -> The cell contains a bush and Alice can not visit this cell.
0 -> The cell is empty and Alice can pass through it.
1. After picking an apple the cell will become empty.
2. While going towards the bottom right corner, Alice can either move Right or Down at each step.
3. While going towards the top left corner, Alice can either move Left or Up at each step.
4. If there is no path from (0,0) to (‘N’-1, ‘N’-1) then Alice will not pick any apple.
If the given matrix is :
[1, 1, -1, 1]
[1, 0, 1, 1]
[1, 1, 0, 1]
[0, -1, -1, 1]
One of the possible ways to collect maximum apples is :
Path for going towards bottom right corner:
(0,0) -> (0,1) -> (1,1) -> (1,2) -> (1,3) -> (2,3) -> (3,3)
Apples collected are equal to 6.
Path for going towards top left corner:
(3,3) -> (2,3) ->(2,2) -> (2,1) -> (2,0) -> (1,0) -> (0,0)
Apples collected are equal to 3.
So Alice can collect a maximum of 9 apples.
Used dp approach to solve this .
You may assume that given ‘X’ and ‘Y’ definitely exist in the given binary tree.
For the given binary tree
LCA of ‘X’ and ‘Y’ is highlighted in yellow colour.
if LCA was found out then it was easy to come up with ans . The tricky part was to identify the structure .
This was a low level design round that was taken . The aim of this round was to see the coding style and live implementation and thought process . We werent required to come up with actual patterns but the emphasis was on general design skills and implementation wrt to OOPS concepts .
It was to design a rate limiter .
Tip 1:Ask the questions regarding the specs of the system like number of requests , usage of this api , what could happen if it goes down , how many load balancers , etc
Tip 2: During this entire round try to think aloud and make your interviewer understand your approach .
Tip 3: Be cautious of the time if the solution needs to be coded as well . Try to do it in java as this is more OOPs friendly .
This round was mix of both DSA and core CS concepts and discussion on my projects . Hiring manager round .
‘N’ = 3, ‘coins’ = {1, 2, 3}, ‘freq’ = {1, 1, 3}, ‘V’ = 6
For the given example, we can make six by using the following coins:
{1, 2, 3}
{3. 3}
Hence, the answer is 2.
I used dp to come up with optimal solution and coded the bottom up solution .
There was questions on Virtual memory and paging which are asked in college exams . Also some questions related to semaphores and locking were also discussed with practical use cases .
Tip 1: Try to be clear what you intent to say as these could be miscommunicated.
Tip 2: Dont try to fool the interviewer if you dont know it correctly , instead ask for another thing .
This was regarding multiple indexes and whats the difference between mysql and mongodb
this is a standard interview question and i had already prepared this .
Tip 1:Be thorough with sql
Tip 2:Try to learn about sharding and indexing of databases .
Tip 3:practice ER models before the interview of standard problems.
This was a HR round to discuss the expectations and some discussions about the company values . There were no situation based questions asked here .
Why do you want to work here ? Any current that you hold ? Whats your expecations for salary ? etc
Tip 1:Be calm and answer honestly .
Tip 2:Use STAR technique to answer HR questions !
Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which of these access modifiers must be used for the main() method?