Binary(2)
-
3.7.1 Pre-Order Traversal(전위 순회)
CS - 3. Common Algorithms - 3.7 Tree - 3.7.1 Pre-Order Traversal Tree Algorithms 💡A tree is non-linear and a hierarchical data structure consisting of a collection of nodes such that each node of the tree stores a value and a list of references to other nodes (the “children”). 트리는 비선형적이며 노드 모음으로 구성된 계층적 데이터 구조로, 트리의 각 노드가 값과 다른 노드에 대한 참조 목록("자식")을 저장합니다. Pre-Order Traversal 💡Pre-order traversal ..
2024.02.08 -
3.3. Search - 3.3.1 Binary Search
CS - 3. Common Algorithms - 3.3. Search - 3.3.1 Binary Search Search Algorithms 💡 Search algorithms are used to find a specific item in a collection of items. For example, if you have a list of names and you want to find a specific name, you can use a search algorithm to find that name. 검색 알고리즘은 항목 모음에서 특정 항목을 찾는 데 사용됩니다. 예를 들어, 이름 목록이 있는데 특정 이름을 찾으려는 경우 검색 알고리즘을 사용하여 해당 이름을 찾을 수 있습니다. Binary Se..
2024.01.23