From: Daniel Moore on
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

The three rules of Ruby Quiz:

1. Please do not post any solutions or spoiler discussion for this
quiz until 48 hours have elapsed from the time this message was
sent.

2. Support Ruby Quiz by submitting ideas and responses
as often as you can!
Visit: http://rubyquiz.strd6.com/suggestions

3. Enjoy!

Suggestion: A [QUIZ] in the subject of emails about the problem
helps everyone on Ruby Talk follow the discussion. Please reply to
the original quiz message, if you can.

RSS Feed: http://rubyquiz.strd6.com/quizzes.rss

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

## URL Shenanigans (#220)

Wassail Rubyists,

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.

Have Fun!
--
-Daniel
http://rubyquiz.strd6.com