The interview asked me to solve a medium level leet code question , on any online compiler. I took around 20 mins and solved the question, then the interviewer asked to put in some custom inputs suggested by him and it ran on all the inputs he suggested except one. I asked him to give me some time to update but the interviewer was very arrogant and he said this is not the only input my code will fail there will be many inputs and then he tried giving me inputs for another 1 hour. My code passes almost 85-90% of the inputs but it was not satisfactory . so in the end the interviewer copied my code and pasted in the leet code from where the problem was copied and as expected the code won't work as i wrote it for manual inputs not the auto inputs as in leet code. By this time i was fully frustrated and then interviewer said its getting very late so he gave me last 5 mins to make my code suitable for leet code inputs but at that moment i don't want to waste my more time so i take his leave.
PS- Interviewer was also SDET-II
This was the worst interview i had in my life