Product
Pricing
Blog
Forum
NEW
Referral
Description
Solution
Discussion
Submissions
Ask AI
AI Insights
Quick Summary
Implement a multithreaded crawler that explores pages starting from a given URL.
Filter discovered links to only include those sharing the exact same hostname as the start page.
Sanitize all URLs by removing fragment identifiers before deduplication and hostname comparison.
What This Tests
Thread-safe shared state management and race condition prevention
Parallel graph traversal with dynamic work distribution
String manipulation and URL parsing logic
Synchronization primitives for coordinating async tasks
Common Patterns
Graph Traversal
DFS/BFS
Hashing
Collapse
Hint 1
Hint 2
What Interviewers May Ask Next
Report
Report seen similar question in interview
Accepted
5.4k
/9.6k
Acceptance Rate
56.3%
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Python3
Auto
Debug
Run
Submit
Stdout
-