Online Assessment
Questions: The online assessment on HackerEarth included 2 DSA questions. I solved one completely, while the second was only partially completed.
Candidate's Approach
No approach provided.
Interviewer's Feedback
No feedback provided.
Technical Interview 1
Questions: The interviewer pasted a short snippet in the Google coding interface, and I had to clarify the problem further, generate test cases, and offer a solution.
Question:
- I initially approached it with recursion, but the interviewer encouraged me to use a bottom-up approach.
Candidate's Approach
I wrote the recursive solution and explained its time and space complexity before wrapping up.
Interviewer's Feedback
No feedback provided.
Technical Interview 2
Questions: I was asked a range query problem, similar to "make all elements in an array equal using +1 or -1 operations."
Candidate's Approach
I explained and coded a near-optimal solution, though I couldn’t reach the most efficient answer, which I suspect involved difference arrays. I also solved a follow-up question while discussing complexities.
Interviewer's Feedback
No feedback provided.