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 q605 implements a solution for https://leetcode.com/problems/can-place-flowers/
package q605
func canPlaceFlowers(flowerbed []int, n int) bool {

View file

@ -1,3 +1,4 @@
// Package q636 implements a solution for https://leetcode.com/problems/exclusive-time-of-functions/
package q636
import (

View file

@ -1,3 +1,4 @@
// Package q637 implements a solution for https://leetcode.com/problems/average-of-levels-in-binary-tree/
package q637
type TreeNode struct {

View file

@ -1,3 +1,4 @@
// Package q643 implements a solution for https://leetcode.com/problems/maximum-average-subarray-i/
package q643
import "math"

View file

@ -1,3 +1,4 @@
// Package q645 implements a solution for https://leetcode.com/problems/set-mismatch/
package q645
func findErrorNums(nums []int) []int {

View file

@ -1,3 +1,4 @@
// Package q649 implements a solution for https://leetcode.com/problems/dota2-senate/
package q649
func predictPartyVictory(senate string) string {

View file

@ -1,3 +1,4 @@
// Package q693 implements a solution for https://leetcode.com/problems/binary-number-with-alternating-bits/
package q693
func hasAlternatingBits(n int) bool {

View file

@ -1,3 +1,4 @@
// Package q696 implements a solution for https://leetcode.com/problems/count-binary-substrings/
package q696
func countBinarySubstrings(s string) int {