220 URL Shenanigans
This week’s quiz was submitted by Anonymous.
URL shorteners: love them or hate them, they exist. So why not have some fun? The challenge is to use URL shortening services to create the longest chain to your favorite web page. Your program should take in as parameters the final URL that all the “shorteners” link to, and the number of links in the chain. Word to the wise: most services refuse “shorten” their own links, so you will probably need to use at least two.
Bonus: Create a 1000+ chain of URLs that form a cycle.
There were no solutions for this week’s quiz. The new quizzes are looking good though, thanks to reader suggestions: http://rubyquiz.strd6.com/site/suggestions