HubSpot Interview Question

Write an algorithm to find all links on a website.