Live data from Hacker News

Ask HN: Programming Problems for Plane Rides

news.ycombinator.com

1–10 of 29 posts

Ask HN: Programming Problems for Plane Rides

#1
When I have been on flights recently without Wifi, I've been passing the time by doing programming problems I find online before the flight.

A few times now I've found myself scrambling before a flight to download some random CS course PDF or digging around recruiting sites for hiring challenges that don't assume I have an Internet connection.

Does anyone have a good recommendation for a big page or site full of interesting problems that I could download locally? Generally problems that take from 30min - 2hrs to complete?

Re: Ask HN: Programming Problems for Plane Rides

#5
If you're up for challenge, I'd try "Ed's Programming Contest Problem Archive" at http://www.karrels.org/Ed/ACM/, and the Baylor archive at http://icpc.baylor.edu/Past/PastProblems.html.

Both contain problem sets from the ACM International Collegiate Programming Contest.

Re: Ask HN: Programming Problems for Plane Rides

#9
I recommend trying to implement a classic game (e.g. tetris). If you download the documentation for the graphics library, it's surprising how much you can do in two hours. Even without knowing the library from before.

(Unfortunately, we just got internet on trains here in Norway, which have reduced my train-productivity noticeably)

Re: Ask HN: Programming Problems for Plane Rides

#10
I often do this on flights, and in addition to solving "puzzles" you can always try to build a well-defined system from scratch. For example:

  - A JSON parser (bring the BNF from http://json.org/)
  - Simplified Lisp interpreter
  - Forth compiler (for example: https://github.com/JohnEarnest/Four.Ps)
  - Emulator for a simple CPU or MCU (6502, 1801, etc- bring a datasheet)
Projects like these are not "practical", as everything here has been done before, but great learning experiences.
Post reply on HN