No syntax errors, good error handling and such. Just because it implemented the wrong function doesn't mean the function is bad.
i wish i could do that in an interview.