What is HashTable, what is the use of it, when do we use
(purpose).
Answers were Sorted based on User's Feedback
Answer / shiva charan
1.basically hashtable stores in terms of (key,value) pair.
2.all the searching operations can be done in O(1) time
complexity.
3. hashtable when u insert the values internally it uses
some optimized algorithm so that accessing will be pretty
much easier.
all the searching operations will be done with less time
complexity if u store the data in a hash table
Is This Answer Correct ? | 5 Yes | 0 No |
Answer / subodh kumar
First of all Why HashTable? Answer is very simple. Suppose
you have some data, which needs to be stored in two
dimensional array and have a link format of Key and Value.
For example, a person name and his social security number
and we can access there data using a key.
Is This Answer Correct ? | 0 Yes | 1 No |
What language is arduino?
How long does it take to learn c# for unity?
How does a while loop work?
What is a shared assembly?
What is extended method in c#
What's the difference between WindowsDefaultLocation and WindowsDefaultBounds?
Is a valid int value?
What Is The Difference Between The System.array.copyto() And System.array.clone()?
Contrast System.String and System.Text.StringBuilder classes?
What is the meaning of MSIL?
What is the difference between <c> and <code> xml documentation tag?
What is difference between variable and property in c#?