I was very close to do it and I did a poor job hiding my annoyance.
It didn’t stop there. The coding challenge was standard bs done in a glitchy online tool. Yet another clone of coderpad which implemented poorly. I asked the interviewer why did he pick this specific question and how does it correlate to what they do - answer was not encouraging.
As you guessed, I didn’t pass he interview :).