Test the next page
transcript
A crawler follows links between web pages. Each page has a level. The crawler has a clearance. One filter goes in the wrong place. Can you spot it?
The crawler may visit pages up to its clearance. Every other page is refused. Even to pass through.
The page you stand on is already allowed. So testing it lets every neighbour pass. Even the pages that are too high.
Page zero has level one, which is fine. But page one has level nine, so refuse it.
Test a source above the clearance. Test a target above the clearance. Test a link that repeats.
The wrong code returns true. The right answer is false.
Look at the page you are about to enter. Test its level against the clearance. The source must pass the test too.
Filter the node you step onto. Never the node you stand on. Check the source too. Full breakdown in the lecture.