Round 1 : Codility Test (1 Hour)
Received a test invitation via an email, was asked to complete the test within 2 days. It was having 2 medium level DS questions.
Solved both of them. After giving test, recruiter reached to me on next week, told that I am shortlisted for further round and scheduled my next round.
Round 2: Virtual Interview (1 Hour 10 min)
- Given a folder path name as String input to a method, print all files & folders from that folder keeping folder's name first & then file's name. Also the each level should be space intended like we see in open file dialogue box. Given that you can use Basic Java File class utilities.
- Write one example of Dependency Injection in Spring Boot. (Here I had to think myself & write any example).
- Give the HLD of application similar to Book My Show, give the list of what will be database design & what will be the possible services that you need to have. A lot of discussion happened on this also he asked how would you handle concurreny of booking seats.
- How do you start debugging a issue, whats possible approach you follow in general?
- Any logging framework have you worked?
I was quite surprised to face design question in first round itself but managed to answer somehow, he corrected some things in it. Recruiter reached to me next week and scheduled my next round.
Round 3 : Virtual Interview (1 Hour)
- Write a program, given 2 sorted arrays find the median of merged sorted array. Asked about time & space complexity.
Solved with O(N) time & O(1) space.
- Write a query for getting all the comapanies who don't have any employees given that there are 2 tables Employee & Company.
Wrote subquery first, he asked to improvise it.
- Discussion of current Architecture of my project. Interviewer listened to everything what I said & I think noted some questions & asked me one after another. There were many questions like,
why chosen this approach? why kafka used? how you handle xyz scenarios? What are the single point of failures in your application.
This discussion was useful & worthy to spend time on it for me :)
Recruiter reached to me on same day and scheduled my next round.
Round 4 : Virtual Interview (40 Min)
- Given 2 arrays find out the minimum difference between 2 elements in array.
- Asked about why Java is platform Independent & why c++ is not?
- Asked about why multiple Inheritance is not supported in Java & how it is achieved?
- What else have you done apart from coding in your project?
- Tell me about any database design if you have done?
Recruiter reached to me on same day and scheduled my next round.
Round 5: Virtual Interview (30 Min)
- Many behavioural questions.
- How to deal with lots of data?
- What will be your approach to improve performance in any application?
Next day, HR reached to me & asked for docs and got offer almost after week.
Overall interview process was around 3 weeks.
I would like say "Thank you" all leetcode community.
Happy Coding...!!!