473,320 Members | 2,147 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

What is HASH table ?

Hello.

What is hash table? i could only find small reffrence to hash table .. but
what exactly is this and how can i creat them?
Is there any website with tutorial on this subject ?

Thanks
Jul 21 '05 #1
3 12335
search in google

Tony wrote:
Hello.

What is hash table? i could only find small reffrence to hash table .. but
what exactly is this and how can i creat them?
Is there any website with tutorial on this subject ?

Thanks


Jul 21 '05 #2
Tony wrote:
What is hash table? i could only find small reffrence to hash table
.. but what exactly is this
A hash table is a generic data structure providing for fast and random
retrieval of objects. It is sometimes called a map or a dictionary
(although the implementations may differ).

The tenet of a hash table is that the location of an object in the data
structure is computed from the key associated with the object when it is
stored into the hash table. For that reason, retrieving an object from a
hash table is very fast. Of course, the key associated with the object
must be unique.
and how can i creat them?


Exactly like any other class in .Net. Just look at the documentation for
the HashTable class in the System.Collections namespace.

--
Patrick Philippot - Microsoft MVP
MainSoft Consulting Services
www.mainsoft.fr
Jul 21 '05 #3
http://samples.gotdotnet.com/quickst...hashtable.aspx
http://msdn.microsoft.com/library/de...nhashtable.asp
http://msdn.microsoft.com/library/de...ClassTopic.asp

Imran.

"Tony" <to*****@hotmail.com> wrote in message
news:uH**************@TK2MSFTNGP15.phx.gbl...
Hello.

What is hash table? i could only find small reffrence to hash table .. but
what exactly is this and how can i creat them?
Is there any website with tutorial on this subject ?

Thanks

Jul 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Pelo GANDO | last post by:
Hi everybody ! I am a beginner in C++. I am looking for a (simple if it's possible) source code in C++ about hash table... Thank you ! Pelo
13
by: gtux | last post by:
Hi everybody: I'm new in Javascript, I found some code and there is this: var fruit = { 'apple' : { 'weight' : 10, 'cost' : 9}, 'peach' : { 'weight' : 19, 'cost' : 10} }
21
by: Helge Jensen | last post by:
I've got some data that has Set structure, that is membership, insert and delete is fast (O(1), hashing). I can't find a System.Collections interface that matches the operations naturally offered...
3
by: Tony | last post by:
Hello. What is hash table? i could only find small reffrence to hash table .. but what exactly is this and how can i creat them? Is there any website with tutorial on this subject ? Thanks
21
by: Johan Tibell | last post by:
I would be grateful if someone had a minute or two to review my hash table implementation. It's not yet commented but hopefully it's short and idiomatic enough to be readable. Some of the code...
14
by: Mark S. | last post by:
Hello, I've written a high performance web app with C# and it completely relies on static hash tables (using sync) and classes. Under real world stress this app is handling 5 get requests per...
139
by: ravi | last post by:
Hi can anybody tell me that which ds will be best suited to implement a hash table in C/C++ thanx. in advanced
6
by: j1mb0jay | last post by:
I am currently working on a dictionary populating program. I currently have a socket connection my local news server and am trawling through all of the articles looking for new words. I am...
10
by: Tony | last post by:
Hello! Here I have a Card class with several methods. Now to my question I don't really fully understand what purpose this GetHashCode is used for. That's why I bring it up again. In this...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.