README ¶ go-algorithms 项目包含 LeetCode、AcWing 题解及常用算法模板。 代码生成工具 请在 cmd 目录下执行。 # 生成力扣指定一个题目的代码 go test -run GenLCProblemCode -args {ID} # 生成力扣指定一场周赛/双周赛的代码 go test -run GenLCContestCode -args {Type} {ID} Expand ▾ Collapse ▴ Directories ¶ Show internal Expand all Path Synopsis pkg leetcode leetcode/testutils solution acwing/binary_search/0789 command acwing/binary_search/0790 command acwing/difference/0797 command acwing/difference/0798 command acwing/high_precision/0791 command acwing/high_precision/0792 command acwing/high_precision/0793 command acwing/high_precision/0794 command acwing/merge_sort/0787 command acwing/merge_sort/0788 command acwing/prefix_sum/0795 command acwing/prefix_sum/0796 command acwing/quick_sort/0785 command acwing/quick_sort/0786 command leetcode/problems/0001 command leetcode/problems/0002 command leetcode/problems/0003 command leetcode/problems/0004 command leetcode/problems/0005 command leetcode/problems/0006 command leetcode/problems/0007 command leetcode/problems/0008 command leetcode/problems/0009 command leetcode/problems/0462 command leetcode/problems/1620 command leetcode/problems/1662 command leetcode/problems/1668 command leetcode/problems/1678 command leetcode/weekly/315/a command leetcode/weekly/315/b command leetcode/weekly/315/c command leetcode/weekly/315/d command leetcode/weekly/316/a command leetcode/weekly/316/b command templates difference functions high_precision prefix_sum search sort Click to show internal directories. Click to hide internal directories.