Hacker News new | past | comments | ask | show | jobs | submit login

> What 2 hour project can you assign that would let the candidate go into enough depth for you to judge their code, design decisions, architecture skills?

Write a program that reads a text file, and output each unique word with the number of times it appeared.

The program must be done in a programming language among: C, C++, C#, Go, Java, PHP, Python, Ruby.




foreach word: ++(wordmap[word])

print wordmap

This is on the level of a pretty simple first phone screen problem.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: