chore: add package level comments

This commit is contained in:
Yiyang Kang 2026-02-27 12:55:48 +09:00
parent cc87c4b30c
commit ee1868a10e
Signed by: kkyy
SSH key fingerprint: SHA256:lJSbAzC3MvrSORdvIVK6h/3g+rVKJNzM7zq0MgA9WKY
303 changed files with 303 additions and 0 deletions

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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 {

View file

@ -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"

View file

@ -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"

View file

@ -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 {

View file

@ -1,3 +1,4 @@
// Package q1382 implements a solution for https://leetcode.com/problems/balance-a-binary-search-tree/
package q1382
type TreeNode struct {

View file

@ -1,3 +1,4 @@
// Package q1390 implements a solution for https://leetcode.com/problems/four-divisors/
package q1390
import "slices"