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 q812 implements a solution for https://leetcode.com/problems/largest-triangle-area/
|
||||
package q812
|
||||
|
||||
func area2(a, b []int) float64 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q841 implements a solution for https://leetcode.com/problems/keys-and-rooms/
|
||||
package q841
|
||||
|
||||
func canVisitAllRooms(rooms [][]int) bool {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q872 implements a solution for https://leetcode.com/problems/leaf-similar-trees/
|
||||
package q872
|
||||
|
||||
import "slices"
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q875 implements a solution for https://leetcode.com/problems/koko-eating-bananas/
|
||||
package q875
|
||||
|
||||
import (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue