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

what is the purpose of the rakefile available in the demo directory in ruby?

1 Answers  


What is the scope of a local variable in ruby?

1 Answers  


How would you freeze an object in ruby?

1 Answers  


What is RubyGems in Ruby programming language?

1 Answers  


What are the case statement in ruby?

1 Answers  


Explain about interpolation?

1 Answers  


Explain how Symbol is different from variables?

1 Answers  


What are the looping structures available in ruby?

1 Answers  


Are ruby strings are mutable?

1 Answers  


Explain Ruby if-else statement?

1 Answers  


What is the difference between a class and a module?

1 Answers  


Explain when self.up and self.down method is used?

1 Answers  


Categories