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 q812 implements a solution for https://leetcode.com/problems/largest-triangle-area/
package q812
func area2(a, b []int) float64 {

View file

@ -1,3 +1,4 @@
// Package q840 implements a solution for https://leetcode.com/problems/magic-squares-in-grid/
package q840
func checkSquare(x, y int, grid [][]int) bool {

View file

@ -1,3 +1,4 @@
// Package q841 implements a solution for https://leetcode.com/problems/keys-and-rooms/
package q841
func canVisitAllRooms(rooms [][]int) bool {

View file

@ -1,3 +1,4 @@
// Package q865 implements a solution for https://leetcode.com/problems/smallest-subtree-with-all-the-deepest-nodes/
package q865
type TreeNode struct {

View file

@ -1,3 +1,4 @@
// Package q872 implements a solution for https://leetcode.com/problems/leaf-similar-trees/
package q872
import "slices"

View file

@ -1,3 +1,4 @@
// Package q875 implements a solution for https://leetcode.com/problems/koko-eating-bananas/
package q875
import (