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 q700 implements a solution for https://leetcode.com/problems/search-in-a-binary-search-tree/
package q700
type TreeNode struct {

View file

@ -1,3 +1,4 @@
// Package q712 implements a solution for https://leetcode.com/problems/minimum-ascii-delete-sum-for-two-strings/
package q712
func minimumDeleteSum(s1 string, s2 string) int {

View file

@ -1,3 +1,4 @@
// Package q714 implements a solution for https://leetcode.com/problems/best-time-to-buy-and-sell-stock-with-transaction-fee/
package q714
// Note: could be done faster with dynamic programming

View file

@ -1,3 +1,4 @@
// Package q717 implements a solution for https://leetcode.com/problems/1-bit-and-2-bit-characters/
package q717
func isOneBitCharacter(bits []int) bool {

View file

@ -1,3 +1,4 @@
// Package q724 implements a solution for https://leetcode.com/problems/find-pivot-index/
package q724
func pivotIndex(nums []int) int {

View file

@ -1,3 +1,4 @@
// Package q735 implements a solution for https://leetcode.com/problems/asteroid-collision/
package q735
func asteroidCollision(asteroids []int) []int {

View file

@ -1,3 +1,4 @@
// Package q739 implements a solution for https://leetcode.com/problems/daily-temperatures/
package q739
func dailyTemperatures(temperatures []int) []int {

View file

@ -1,3 +1,4 @@
// Package q744 implements a solution for https://leetcode.com/problems/find-smallest-letter-greater-than-target/
package q744
func nextGreatestLetter(letters []byte, target byte) byte {

View file

@ -1,3 +1,4 @@
// Package q746 implements a solution for https://leetcode.com/problems/min-cost-climbing-stairs/
package q746
func minCostClimbingStairs(cost []int) int {

View file

@ -1,3 +1,4 @@
// Package q756 implements a solution for https://leetcode.com/problems/pyramid-transition-matrix/
package q756
type Bottom [2]byte

View file

@ -1,3 +1,4 @@
// Package q761 implements a solution for https://leetcode.com/problems/special-binary-string/
package q761
func toNumber(arrs ...[]byte) int {

View file

@ -1,3 +1,4 @@
// Package q790 implements a solution for https://leetcode.com/problems/domino-and-tromino-tiling/
package q790
const (