Enjoy programming puzzles? So do we.
You may use any of the following programming languages:
C++
Java
JavaScript
OCaml/SML
Perl
PHP
Python
For extra credit, you may submit additional solutions in the other languages as well as solutions in languages not listed here.
Explain and share your code and solutions in this thread. To those who are looking for a technical job in the USA please PM me your profile and your resume. Thank you
Have fun