반응형
HashTable
Hash Table is the most useful data structure for interview questions.
for any problem, have hashtables at the top of your mind as a possible technique to solve problems.
Key value lookup
So this gives you a way of given a key, asscociating a value with it for quick lookups.
String -> hashCode -> index
- Array is often much smaller than the number of hashcodes
반응형
'Programming > Java' 카테고리의 다른 글
Linked List (0) | 2022.02.10 |
---|---|
퀵 정렬 자바 (0) | 2022.02.10 |
Dynamic Arrays in Java (0) | 2022.02.10 |
BufferedReader와 BufferedWriter 사용법 (0) | 2022.01.31 |
ArrayList functions (0) | 2022.01.30 |