Amazon Interview Question

1. On a shared notepad, i was asked to write a program that performs multiplication of two byte array. 2. Write an algorithm to trace all the websites and urls present in an html file and visit each of them to get the same list.. until you reach dead-end.