chore: add package level comments
This commit is contained in:
parent
cc87c4b30c
commit
ee1868a10e
303 changed files with 303 additions and 0 deletions
|
|
@ -1,3 +1,4 @@
|
|||
// Package q901 implements a solution for https://leetcode.com/problems/online-stock-span/
|
||||
package q901
|
||||
|
||||
type Price struct {
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 }
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q976 implements a solution for https://leetcode.com/problems/largest-perimeter-triangle/
|
||||
package q976
|
||||
|
||||
import "slices"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q986 implements a solution for https://leetcode.com/problems/interval-list-intersections/
|
||||
package q986
|
||||
|
||||
import "slices"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q994 implements a solution for https://leetcode.com/problems/rotting-oranges/
|
||||
package q994
|
||||
|
||||
func orangesRotting(grid [][]int) int {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue