Podcast
Questions and Answers
What is the task given in the problem statement?
What is the task given in the problem statement?
The task is to find the minimum number of clicks required to reach the end web page from the start web page.
What should be printed if the end web page cannot be reached from the start web page?
What should be printed if the end web page cannot be reached from the start web page?
-1 should be printed as the output.
What are the constraints for the number of web pages?
What are the constraints for the number of web pages?
The number of web pages should be greater than 0.