Work in HR? Unlock Free Profile

Google Software Engineer Interview Question

"Given a disk running out of space, find a way to search whole hard drive to dedup in file level. Goal is copying as less data as possible to another hard drive without losing any info. Write it with any language you want."
Add Tags [?]

Part of a Software Engineer Interview Review - one of 3,050 Google Interview Reviews

Answers & Comments

of 1

I only have time to write a pseudo code like C. The idea is search directory tree, if find one file, calculate a hash for it then push into a hashtable.

- Interview Candidate on May 21, 2012

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.