package
Version:
v0.0.0-...-619039e
Opens a new window with list of versions in this module.
Published: Nov 26, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
KahnAlgorithm 实现Kahn算法进行拓扑排序
type Graph struct {
Nodes []int
Edges [][]int
}
Graph 表示有向无环图
Trie 定义了Trie树的结构
StartsWith 检查Trie树中是否有以给定前缀开头的单词
Source Files
¶
Click to show internal directories.
Click to hide internal directories.