Concurrent Web Crawler with Sorted CSV Export

Asked at Salesforce · Coding Questions · Difficulty: Medium · Last asked Mar 10, 2026

Design and implement a concurrent web crawler in Python that visits the pages of one website, collects a record from each page, sorts the records by a stated rule, and writes them to a CSV file. Treat it as a small end-to-end program: it should run, be readable, and stay correct under concurrency.

Loading the problem…