A gem for job interview type problems