chore: add package level comments
This commit is contained in:
parent
cc87c4b30c
commit
ee1868a10e
303 changed files with 303 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1004 implements a solution for https://leetcode.com/problems/max-consecutive-ones-iii/
|
||||
package q1004
|
||||
|
||||
func longestOnes(nums []int, k int) int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1018 implements a solution for https://leetcode.com/problems/binary-prefix-divisible-by-5/
|
||||
package q1018
|
||||
|
||||
func prefixesDivBy5(nums []int) []bool {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1022 implements a solution for https://leetcode.com/problems/sum-of-root-to-leaf-binary-numbers/
|
||||
package q1022
|
||||
|
||||
type TreeNode struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1041 implements a solution for https://leetcode.com/problems/robot-bounded-in-circle/
|
||||
package q1041
|
||||
|
||||
type Dir int8
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1046 implements a solution for https://leetcode.com/problems/last-stone-weight/
|
||||
package q1046
|
||||
|
||||
import "container/heap"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1071 implements a solution for https://leetcode.com/problems/greatest-common-divisor-of-strings/
|
||||
package q1071
|
||||
|
||||
func isRepeatOf(segment, str string) bool {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue