Worst ever Interview Experience-Adobe
Company: Adobe
Role: unknown
Interview Stage: Phone Screen
Location: unknown
Year: unknown
Original Post Content:
I appeared for an interview with Adobe a few days ago.
The interviewer herself had no idea how the question had to be solved. She kept on asking random questions around the logic, and even though I pointed out multiple times, she kept coming with invalid input for the question.
I gave her a brute force solution which was working for all scenarios except her invalid ones, with O(n*n) TC. Then I optimized the solution to O(n), for which also she was stuck with invalid test cases only.
I clearly told her multiple times this was not within the given question's constraint, and in order to handle those scenarios, the whole question approach would be changed.
Still, I suggested her the variation that would be possible to accommodate her changes and told her the approach with the optimized TC.
Didn't expect such an experience from Adobe.
Question was some variation of https://leetcode.com/problems/jump-game-ii/description/