Ah I interviewed with some of these companies a few months ago and had the same experience. Unlike you though I didn’t find this frustating but rather hilarious.
For example, Lifion interviewers who wanted me to write fibonacci couldn’t tell me what the sequence definition was, they ‘taught’ me that C++ classes default visibility was protected or that REST was a protocol, they didn’t like when I said they should use a relational database if mongodb lack of multi documents atomicity was such a problem. That was so mind blowing that I started writing down on my phone all the stuff they said.
I might write an article about all that too actually.