No they don't. I had interviews with both Amazon and Google and nobody told me that.
After two years Amazon called be back for a second interview. I told them that I am not interested if they still have that kind of questions. They said they don't.
I flew to a different country for that second interview and guess what! They still asked those kind of questions.