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 q700 implements a solution for https://leetcode.com/problems/search-in-a-binary-search-tree/
|
||||
package q700
|
||||
|
||||
type TreeNode struct {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q724 implements a solution for https://leetcode.com/problems/find-pivot-index/
|
||||
package q724
|
||||
|
||||
func pivotIndex(nums []int) int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q735 implements a solution for https://leetcode.com/problems/asteroid-collision/
|
||||
package q735
|
||||
|
||||
func asteroidCollision(asteroids []int) []int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q739 implements a solution for https://leetcode.com/problems/daily-temperatures/
|
||||
package q739
|
||||
|
||||
func dailyTemperatures(temperatures []int) []int {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q756 implements a solution for https://leetcode.com/problems/pyramid-transition-matrix/
|
||||
package q756
|
||||
|
||||
type Bottom [2]byte
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q761 implements a solution for https://leetcode.com/problems/special-binary-string/
|
||||
package q761
|
||||
|
||||
func toNumber(arrs ...[]byte) int {
|
||||
|
|
|
|||
|
|
@ -1,3 +1,4 @@
|
|||
// Package q790 implements a solution for https://leetcode.com/problems/domino-and-tromino-tiling/
|
||||
package q790
|
||||
|
||||
const (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue