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 q901 implements a solution for https://leetcode.com/problems/online-stock-span/
package q901
type Price struct {

View file

@ -1,3 +1,4 @@
// Package q909 implements a solution for https://leetcode.com/problems/snakes-and-ladders/
package q909
func coord(n, num int) (x, y int) {

View file

@ -1,3 +1,4 @@
// Package q918 implements a solution for https://leetcode.com/problems/maximum-sum-circular-subarray/
package q918
func maxSubarraySumCircular(nums []int) int {

View file

@ -1,3 +1,4 @@
// Package q933 implements a solution for https://leetcode.com/problems/number-of-recent-calls/
package q933
type RecentCounter struct{ reqs []int }

View file

@ -1,3 +1,4 @@
// Package q944 implements a solution for https://leetcode.com/problems/delete-columns-to-make-sorted/
package q944
func minDeletionSize(strs []string) int {

View file

@ -1,3 +1,4 @@
// Package q961 implements a solution for https://leetcode.com/problems/n-repeated-element-in-size-2n-array/
package q961
import "math/rand"

View file

@ -1,3 +1,4 @@
// Package q976 implements a solution for https://leetcode.com/problems/largest-perimeter-triangle/
package q976
import "slices"

View file

@ -1,3 +1,4 @@
// Package q986 implements a solution for https://leetcode.com/problems/interval-list-intersections/
package q986
import "slices"

View file

@ -1,3 +1,4 @@
// Package q994 implements a solution for https://leetcode.com/problems/rotting-oranges/
package q994
func orangesRotting(grid [][]int) int {