Thread-based paginated API caller and tree/date algorithms
Filed under Druva
The question
Write code to call a paginated API using at most k optimum threads to retrieve the full response while handling race conditions. Also find the number of days between two given dates and merge two binary trees with node sums.
No write-up yet. Related questions below have one.
Related Druva questions
Collected from public candidate posts and coding forums. Updated Nov 2026.