NSH Corp interview question

Loop Checking,Troubleshooting