Clipboard Interview Question

Explain how did you approach the solution and scale the code to accommodate a huge dataset.