Appeared for Navi SDE1 Android Interview
I am having 1 YOE
Round 1 (Android only)
Discussion on view lifecycle and views , how they work a bit and layouts (LL, RL, CL)
Baisc android a very bit of fragment and activities
data passing between activites and fragments
coroutines
Forgot few question but rest were normal android stuff, interviewer heavily focused on android viewRound2 (DSA)
1. find longest vaid parenthesis
started solving with normal approach since need to handle multiple cases so solved using stack
eg:
(((())))) ans = 8
))(()) ans = 4
2. Two tree were given, need to find to logic to modify one tree to another one
used reverse inorder traversal and solvedRound3 (Hiring manager)
1. Need to write code to handle multiple parallel api calls and when all of them finsihed then need to call another api
2. Discussed a bit of threads and process , what will happen if we run a infinite loop in IO thread and main thread
3. Given a scenario and need to think how to implement
we have a activity(A) open and we openend few more activites, now again we need to open the previous activity(A) , need to use lauch modes
4. few more android stuffs
5. normal things why to join navi and why leaving you curr organisation Round4(Onsite)(Cultural and fitment)
1. Why to join Navi and why leaving current organisation
2. What is the biggest challenge you have worked on
3. Discussed about personal projects which I made
4. How do you keep yourself updated in android
5. How do you keep calm and how do you handle stress
6. Roles and responsiblity in current organisation and few more questions Status : Selected