Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- ubuntu
- Python3
- Django
- virtualenvwrapper
- KTNF
- 프로젝트 오일러
- IO Visor
- Ipython
- Anaconda
- 백준 알고리즘
- Hash Table
- django framework
- FNCP
- 파이썬
- project euler
- 아나콘다
- 파이썬3
- 국산 네트워크
- 피보나치 수
- jupyter
- data structure
- 다이나믹 프로그래밍
- 우분투
- linked list
- Euler
- Python
- 문자열
- 주피터
- Hash function
- virtualenv
Archives
- Today
- Total
목록Hash function (3)
태코놀로지
About hash tables
1. Motivation- Use array (static set) or linked-list (dynamic set)- They take linear time for search operation (i.e., proportional to the size)- Need better method → hash table(Array/Linked-list의 크기에 비례하는 탐색시간을 줄이는 방법이 필요) 2. Problem- When a record to be inserted maps to an already occupied slot in hash table, a collision occurs- You need a good hash function(높은 확률로 테이블 크기가 데이터보다 작기 때문에 한 슬롯에 배정..
Data Structure
2016. 10. 13. 10:50
Chaining 기반의 해시 충돌 해결법에서 head 활용 이유
Simple means to resolve collision- "Chaining": Use linked-lists. New key inserted at the head of a list.(충돌난 hash slot에 linked-list를 이용해서 주렁주렁 이어 달자. 단 head!) Why not inserted at the tail?(왜 tail이 아니라, head?) tail에 달기 위해서, tail까지 탐색이 필요한데,search operation of linked-list takes linear time(i.e., proportional to the size)
Data Structure
2016. 10. 13. 02:44