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 q401 implements a solution for https://leetcode.com/problems/binary-watch/
|
||||
package q401
|
||||
|
||||
import "fmt"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q427 implements a solution for https://leetcode.com/problems/construct-quad-tree/
|
||||
package q427
|
||||
|
||||
type Node struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q433 implements a solution for https://leetcode.com/problems/minimum-genetic-mutation/
|
||||
package q433
|
||||
|
||||
import "slices"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q435 implements a solution for https://leetcode.com/problems/non-overlapping-intervals/
|
||||
package q435
|
||||
|
||||
import (
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q437 implements a solution for https://leetcode.com/problems/path-sum-iii/
|
||||
package q437
|
||||
|
||||
type TreeNode struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q443 implements a solution for https://leetcode.com/problems/string-compression/
|
||||
package q443
|
||||
|
||||
func compress(chars []byte) int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q445 implements a solution for https://leetcode.com/problems/add-two-numbers-ii/
|
||||
package q445
|
||||
|
||||
type ListNode struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q448 implements a solution for https://leetcode.com/problems/find-all-numbers-disappeared-in-an-array/
|
||||
package q448
|
||||
|
||||
func findDisappearedNumbers(nums []int) []int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q450 implements a solution for https://leetcode.com/problems/delete-node-in-a-bst/
|
||||
package q450
|
||||
|
||||
type TreeNode struct {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q452 implements a solution for https://leetcode.com/problems/minimum-number-of-arrows-to-burst-balloons/
|
||||
package q452
|
||||
|
||||
import "slices"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q485 implements a solution for https://leetcode.com/problems/max-consecutive-ones/
|
||||
package q485
|
||||
|
||||
func findMaxConsecutiveOnes(nums []int) int {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue