Demonstrates the solution of the "friends of friends" task (check if the two sorted lists contain a shared member).
The algorithms seems coming from the developer folklore and we even cannot track the initial author source precisely. It, however, seems working and likely has been described in some scientific study in the past.