From: Martin DeMello Date: 2008-06-12T01:40:07+09:00 Subject: Re: Trie data structure On Wed, Jun 11, 2008 at 8:50 AM, Justin To wrote: > Most of the articles I read say that instead of storing a value at a > node, it stores a reference. How would one accomplish this in Ruby? > Also, I'm trying to make a trie to store numbers from 100,000 to > 999,999. Basically, what would the trie look like? Take a look at http://rubyquiz.com/quiz103.html martin