New
ML System Design & SQL tracks just landed
See what's new
×
Question Bank
Pricing
Blog
Forum
HOT
Referral
Description
Solution
Discussion
Submissions
Ask AI
Question Bank
Anthropic
Coding Question
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
Accepted
7.2k
/12.6k
Acceptance Rate
57.3%
Ask AI Assistant
Ask AI Assistant
Ask me anything about this coding question!
Qwen
Qwen3.6-Flash
0/2000
Auto
Debug
Run
Submit
Stdout
-