Reflecting on the experience, I'm grateful for the insights I gained, even though I ultimately declined the offer. The interviews were straightforward, starting with a coding screen where I tackled a graph traversal question. The technical rounds included generating permutations using backtracking and rearranging arrays for optimal prefix sums. Lucky for me, I had been working through the coding questions on prachub.com a few days prior, which really helped boost my confidence. Overall, the process was smooth and left me feeling well-prepared.
Interview questions [3]
Question 1
Return all nodes reachable from a starting vertex in a directed graph