Hacker News new | ask | show | jobs
by QuercusMax 1473 days ago
As part of my phone interview at Google in 2015, I was given a piece of real code to read, with all the comments removed, and asked to figure out what it did. Was actually a fun little exercise.
1 comments

Yea this is how I currently do interviewing.

Give the candidate a real piece of code, ask them what it does, ask them to improve the code, and then ask them to add a new feature to the code.