Dropbox Interview Question

Solve a software routine problem