>>22668 (OP)What is this position? Why the fuck these interview questions still exist in this era?
I'm sorry but I haven't into any interviews, but I honestly think that they will ask more about real-world scene rather than these questions, because what you'll work is very different from these hecking questions.
And yes, it's been a long time since I've seen these questions, kinda reminds me when I first started programming, now I can barely remember anything about it.