| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- baekjoon
- string
- function
- 포인터
- OOP
- vscode
- pointer
- programming
- 함수
- raw data
- 알고리즘
- 반복문
- Object Oriented Programming
- 티스토리챌린지
- Deep Learning
- array
- 배열
- 문자열
- 백준
- C++
- Pre-processing
- assignment operator
- pass by reference
- 파이썬
- const
- predictive analysis
- Data Science
- Class
- Python
- 오블완
- Today
- Total
목록2025/05/28 (2)
Channi Studies
A topological sort of a directed, acyclic graph produces a list of graph's vertices such that for every edge from a vertex X to a vertex Y, X comes before Y in the list. There can be more than one valid topoligcal sort. Again, the graph must be acyclic and riected in order to apply topological sorting. The time complexity and space complexity of topological sorting is O(|V| + |E|).
The Bellman-Ford shortest path algorithm, created by Richard Bellman and Lester Ford, Jr,. determines the shortest path from a start vertex to each vertex in a graph. For each vertex, the Bellman-Ford algorithm determines the vertex's distance and predecessor pointer. A vertex's distance is the shortest path distance from the start vertex. A vertex's predecessor pointer points to the previous ve..