Software Engineer · Mid-Level · Phone Screen
I was given an API `fetch_page(page_number)` that returns a page of data. Each page contains a list of results `data` and a `next_page_number` to fetch the next page. If `next_page_number` is null, there's no more data. I needed to implement `fetch(n)` to fetc...