What's a Hash Table? Why we need a Hash Table?
By Using a Hash Table we can find element very quickly. For example, There are 20 random number in an array below.
It's not a sorted array, So We can not use Binary Search to finding a number, When we need to find 118, We need 12 comparisons! Finding number like 270, 198, we need even more comparison.
We cha