I added a Perl solution. It seems I missed something in the problem
because my code is much longer. No ugly Perl shortcuts taken:
Talk about algorithms. Share your experiences and talk about cool code that you wrote.
Vendavo is the leader in front-line profit optimization
Mathematica is the world's ultimate application for computations.
Local online advertising for small businesses.
2,707 Data Skeptics
4,913 Software Engineers
10,097 Data Enthusiasts
6,788 New York Techies
6,521 iOS Developers
Meetup members, Log in