Serious question - what kind of book should one read to get into a mindset of answering such questions? Like fizzbuzz? I understand I can just gptoogle many of the questions, but is there a reading that can help to get to such a mindset from fundamentals?
It's clearly not something like "Code Complete"