본문 바로가기

Graphs and traversal

도입됨
교재 자료
이 주제용 영상 수업 영상 페이지 열기
7:45

데이터 구조와 알고리즘

This course is about choosing a container by what it costs. The first unit is the yardstick: how cost grows with the size of the input. The next four are the…

영어 내레이션 · 영어와 중국어 자막 전환 가능

이 수업의 내용

동영상 강의
어휘
English 의미
adjacency list/əˈdʒeɪsənsi lɪst/인접 목록
adjacency matrix/əˈdʒeɪsənsi ˈmeɪtrɪks/인접 행렬
sparse/spɑːs/Describing a graph with few edges compared with the number of vertices, so an adjacency list suits it.
Breadth-first search/bredθ fɜːst sɜːtʃ/graph search that visits all vertices one edge away, then two edges away, and so on, using a queue
Depth-first search/depθ fɜːst sɜːtʃ/graph search that follows one path as deep as it can before backing up, using a stack or recursion
Dijkstra's algorithm/ˈdeɪkstrəz ˈælɡərɪθəm/finds shortest paths from one source in a graph with non-negative edge weights by always settling the nearest unsettled vertex
topological sort/ˌtɒpəˈlɒdʒɪkl sɔːt/an order of a directed acyclic graph's vertices in which every edge points forwards
Kahn's algorithm/kɑːnz ˈælɡərɪθəm/A topological sort that repeatedly outputs a node with no incoming edges and removes its outgoing edges.
다음 →

교재 자료

로그인 또는 계정 만들기

IGCSE, A-Level & AP