Gave interview for databricks SDE3. I was asked following question and later follow up question on this which unfortunately i don't remember now
Design a webcrawler which can crawl till depth 'h'