강의

멘토링

로드맵

Inflearn Community Q&A

johncoder's profile image
johncoder

asked

Hong Jung-mo's C Programming: Learning by Doing (Appendix)

17.4 Using linked lists

노드 주소 순서 관련 질문

Written on

·

281

0

안녕하세요! 항상 좋은강의 감사드립니다.

연결 리스트에서 노드의 주소가 배열처럼

일련/오름차순으로 배치가 되는것은 아닌거죠?

각 노드는 주소의 크기에 관계없이 랜덤으로 분포해있고

그 노드 주소를 순서대로 연결시키는 개념이 맞는지 궁금해서

질문드렸습니다. 

c

Quiz

51% of people got it wrong. Give it a try!

When comparing arrays and linked lists, which data structure is more efficient for data insertion or deletion?

Array

Linked list

Stack

Q

Answer 1

0

honglab님의 프로필 이미지
honglab
Instructor

안녕하세요? '주소'는 운영체제가 그때그때 결정해서 배정해주는 것이기 때문에 프로그래머 입장에서는 랜덤으로 보이는 것이 정상입니다.  주소를 직접 관리하기 위해서 '메모리풀pool'을 만들어서 사용하는 기술도 있습니다.

johncoder's profile image
johncoder

asked

Ask a question