Implement a resumable data loader | Microsoft Interview Question