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
- Python
- 백준 알고리즘
- django framework
- Ipython
- 파이썬
- 국산 네트워크
- 프로젝트 오일러
- 아나콘다
- Euler
- KTNF
- Hash Table
- linked list
- FNCP
- 피보나치 수
- 우분투
- jupyter
- virtualenvwrapper
- 파이썬3
- virtualenv
- data structure
- Python3
- 주피터
- Hash function
- Django
- 다이나믹 프로그래밍
- Anaconda
- 문자열
- project euler
- ubuntu
- IO Visor
Archives
- Today
- Total
목록linked list (2)
태코놀로지
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
Linked List - advantages & disadvantages
Advantages1. Size varies dynamically (dynamic set)- Unlike the static array (static set) you don't need to reserve a large memory in advance2. Insertion, deletion, merging, splitting take only constant time (cf. takes linear time for search operation)- In contrast, array takes linear time (i.e., proportional to the size) for these operations Disadvantages1. You cannot access an element using an ..
Data Structure
2016. 10. 13. 00:28