Follow up interview - 2 persons turned up(person#1 was okay but person#2 was extremely unprofessional). For the initial 10-15 mins person#1 was asking questions, I explained my assignment & live tested with him. It worked according to the expectations.
Then person#2 woke up & started asking questions in his broken english & heavy accent & it was where things went horribly wrong. I noticed that my responses were frequently dismissed or misrepresented, despite my attempts to clarify them. Whenever I was answering on the right track, he would try to take me down the wrong track & prove me wrong by hook or by crook. He seemed to have made up his mind about my candidacy even before the conversation began, which resulted in an unconstructive and discouraging discussions. Also, it was apparent that poor guy had no clue about spring security as he kept on saying "so authorization is not working"(while it was working perfectly well & I had demonstrated in live testing earlier). I had to explain authorization feature thrice(but he still didn't understand).
Then person#1 asked me a ds & algo question to rotate an array. I came up with optimal solution but they were hardly impressed and stayed completely silent during the DS & Algo discussion, showing zero engagement or effort. When person#1 asked me about an edge case, person#2 again tried to discourage me by interrupting by saying - "at least you should take care of the edge cases!". I quickly fixed that edge case. I think he was expecting me to come up with the most optimum solution covering all the edge cases in ONE GO, which is not how a DS & Algo round is supposed to be conducted. It is supposed to be a discussion round where we arrive at the solution step by step.