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 q1304 implements a solution for https://leetcode.com/problems/find-n-unique-integers-sum-up-to-zero/
|
||||
package q1304
|
||||
|
||||
func sumZero(n int) []int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1317 implements a solution for https://leetcode.com/problems/convert-integer-to-the-sum-of-two-no-zero-integers/
|
||||
package q1317
|
||||
|
||||
func noZero(n int) bool {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1318 implements a solution for https://leetcode.com/problems/minimum-flips-to-make-a-or-b-equal-to-c/
|
||||
package q1318
|
||||
|
||||
func minFlips(a int, b int, c int) int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1339 implements a solution for https://leetcode.com/problems/maximum-product-of-splitted-binary-tree/
|
||||
package q1339
|
||||
|
||||
type TreeNode struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1351 implements a solution for https://leetcode.com/problems/count-negative-numbers-in-a-sorted-matrix/
|
||||
package q1351
|
||||
|
||||
func countNegatives(grid [][]int) int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1356 implements a solution for https://leetcode.com/problems/sort-integers-by-the-number-of-1-bits/
|
||||
package q1356
|
||||
|
||||
import "slices"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1365 implements a solution for https://leetcode.com/problems/how-many-numbers-are-smaller-than-the-current-number/
|
||||
package q1365
|
||||
|
||||
import "slices"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1372 implements a solution for https://leetcode.com/problems/longest-zigzag-path-in-a-binary-tree/
|
||||
package q1372
|
||||
|
||||
type TreeNode struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1382 implements a solution for https://leetcode.com/problems/balance-a-binary-search-tree/
|
||||
package q1382
|
||||
|
||||
type TreeNode struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q1390 implements a solution for https://leetcode.com/problems/four-divisors/
|
||||
package q1390
|
||||
|
||||
import "slices"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue