Advent of Code 2016 started – daily programming puzzles until Christmas
adventofcode.com
adventofcode.com
I've had great fun with Advent of Code last year, competing with a group of friends and colleagues. You can set up a private leaderboard for a group, and watch the progress of the participants.
It can be addicting though. If you attend some social event (dinner, party, sports game) you fear that your colleagues are passing you on the leaderboard.
The programs that you write (if you don't want to solve it by mathematical/brain powers) focus on things like sorting, combinations, counting, grids, trees, graphs, other simple data structures around some fairly basic logic. Nothing too advanced, although sometimes you need to deploy some smart memoization trick (and take the complexity into account, O(log n) is better than O(n!) ) to push the execution time down. You want an answer before Christmas, not before when our Sun expands into a Red Giant. The programs typically are between 5 and 50 lines of code.
Speaking of which, anybody know any good resources for learning algorithms and datastructures, so I can actually know this stuff?