Oh geeze, those interviews are the worst. Ask me technical questions, no problem, but those stupid behavioral questions are bullshit. I have been on the hiring side of the interview process, and those types of questions favor those with a strong BS game but not useful skills or ability to be a good teammate.
My favorite interview question, was something like, “suppose you have a plastic sandwich bag, a 3 inch length of wire (4.5cm), and a roll of duct tape. Using this, how would you find a company RAROC.
My answer: “What the hell is a RAROC?”
That’s actually the correct answer; they were asking it to see if I would try to make up something, or if I could ask a question when I don’t know. FWIW RAROC is risk adjusted return on capital. Used for financial analysis (this was for a financial analyst position).
My point with the story is that you are better off not going into that job. You are interviewing them as much as the other way around, and the questions they ask are a signal about company leadership. Trick questions or general problem solving questions make sense to pose to a candidate, and you want to look for opportunities where the question is relevant to the job.