Minimum Time Travel

A famous time traveler, Adam is planning for his final move against the time cycle. He has the coord…

Click here to read the complete problem statement.

If you need help solving this problem, mention your approach and ask specific questions. Please avoid sharing your code and asking the Community to figure out “what’s wrong”.