|
Programming puzzles, problems, and riddles are a passion at ITA. You may have seen some of our puzzles in recent advertising campaigns around Boston. We use them to help us recruit people, who, like us, enjoy the challenge of designing and implementing solutions to interesting computing problems. |
|
To be precise: if the integers from 1 to 999,999,999 are expressed in words (omitting spaces, 'and', and punctuation[1]), and sorted alphabetically so that the first six integers are
then reading top to bottom, left to right, the 28th letter completes the spelling of the integer "eighteenmillion".
The 51 billionth letter also completes the spelling of an integer. Which one, and what is the sum of all the integers to that point? [1] For example, 911,610,034 is written "ninehundredelevenmillionsixhundredtenthousandthirtyfour"; 500,000,000 is written "fivehundredmillion"; 1,709 is written "onethousandsevenhundrednine". |
|
Sling Blade Runner |
|
Data provided by MovieLens at the University of Minnesota. |
|
Lucky Sevens |
|
|
|
Decrypting the Two-Time Pad (hard!) |
|
|
|
Landmarks Web App |
|
Sysdeo Eclipse Tomcat Plugin 3.0.0+
|
|
ASCII A-maze-ment |
|
|
|
Queens & Knights |
|
This puzzle was created in April '02 and retired in June '04. |
|
Add-A-Gram |
||
|
ail + s = mar + c =
|
|
The Mystery M Function |
|
(defun m (i j k) (cond ((= i 0) (1+ k)) ((and (= i 1) (= k 0)) j) ((and (= i 2) (= k 0)) 0) ((= k 0) 1) (t (m (1- i) j (m i j (1- k))))))
eval (m 4 4 4) => ?
This puzzle was created in December ‘01 and retired in April ’03. |
|
Nine 9s |
|
This puzzle was created in December '01 and retired in August '03. |
|
Palindromic Pangram |
|
This puzzle was created in 2004 and retired in January 2009. |
|
Tour the T |
|
|
Given a T timetable, write a program to compute the quickest route that passes through every station on the Red, Blue, Green, and Orange Lines, ending at Kendall Square.
Details
For example, if part of your route includes changing from the Green Line to the Red Line at Park Street, you should assume that you will wait 5 minutes for the Red Line train to show up. You should also assume that the wait time is the same for all trains (e.g. you will wait 5 minutes for the Red Line to Braintree, Ashmont, or Alewife).
0:00:00: Arrive Kendall/MIT Of course, your code should not be in any way specific to the Boston subway topology, but generalize easily to other data files, representing, say, the New York subway.
|
|
Setless SET® |
|
This puzzle was created in December '05 and retired in January '07. |