Apify interview question

General question about working with APIs, time complexities, and so on