How to think while approaching such question

What’s the thought process or how to approach such question for different time conditions where to start thinking when encountering a new situation