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 q401 implements a solution for https://leetcode.com/problems/binary-watch/
package q401
import "fmt"

View file

@ -1,3 +1,4 @@
// Package q427 implements a solution for https://leetcode.com/problems/construct-quad-tree/
package q427
type Node struct {

View file

@ -1,3 +1,4 @@
// Package q433 implements a solution for https://leetcode.com/problems/minimum-genetic-mutation/
package q433
import "slices"

View file

@ -1,3 +1,4 @@
// Package q435 implements a solution for https://leetcode.com/problems/non-overlapping-intervals/
package q435
import (

View file

@ -1,3 +1,4 @@
// Package q437 implements a solution for https://leetcode.com/problems/path-sum-iii/
package q437
type TreeNode struct {

View file

@ -1,3 +1,4 @@
// Package q443 implements a solution for https://leetcode.com/problems/string-compression/
package q443
func compress(chars []byte) int {

View file

@ -1,3 +1,4 @@
// Package q445 implements a solution for https://leetcode.com/problems/add-two-numbers-ii/
package q445
type ListNode struct {

View file

@ -1,3 +1,4 @@
// Package q448 implements a solution for https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/
package q448
func findDisappearedNumbers(nums []int) []int {

View file

@ -1,3 +1,4 @@
// Package q450 implements a solution for https://leetcode.com/problems/delete-node-in-a-bst/
package q450
type TreeNode struct {

View file

@ -1,3 +1,4 @@
// Package q452 implements a solution for https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/
package q452
import "slices"

View file

@ -1,3 +1,4 @@
// Package q485 implements a solution for https://leetcode.com/problems/max-consecutive-ones/
package q485
func findMaxConsecutiveOnes(nums []int) int {