Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How would you implement hash in ruby internally?



How would you implement hash in ruby internally?..

Answer / Anand Kumar Sagar

Implementing a Hash in Ruby involves creating an instance of the Hash class, which is built on top of the underlying data structure of Ruby's HashTable. The HashTable uses a combination of chaining and open addressing to resolve collisions, with each key mapped to its corresponding value.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

Please explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?

1 Answers  


Are numeric objects mutable in ruby?

1 Answers  


Explain ruby ranges. What are the ways to define ranges?

1 Answers  


How to check whether a directory exist or not in Ruby?

1 Answers  


What is retry statement in ruby?

1 Answers  


What is RubyGems in Ruby programming language?

1 Answers  


What are the different uses of ruby modules?

1 Answers  


What is a symbol in ruby?

1 Answers  


What is ruby class?

1 Answers  


Tell me how can we define ruby regular expressions?

1 Answers  


What are blocks and procs?

1 Answers  


Explain Ruby hashes?

1 Answers  


Categories