Documentation ¶
Index ¶
- func BinaryWatch(turnedOn int) []string
- func CheckIfNumberIsASumOfPowersOfThree(n int) bool
- func CheckIfNumberIsASumOfPowersOfThree2(n int) bool
- func CheckIfNumberIsASumOfPowersOfThree3(n int) bool
- func Coin(n int) int
- func CoinChange2(amount int, coins []int) int
- func ContainsDuplicateIII(nums []int, k, t int) bool
- func ContiguousArray(nums []int) int
- func ContinuousSubarraySum(nums []int, k int) bool
- func ContinuousSubarraySum2(nums []int, k int) bool
- func CourseScheduleIV(numCourses int, prerequisites [][]int, queries [][]int) []bool
- func EatFavoriteCandyAtFavoriteDay(candiesCount []int, queries [][]int) []bool
- func FirstBadVersion(n int) int
- func KokoEatingBananas(piles []int, h int) int
- func MinimumJumpsToReachHome(forbidden []int, a int, b int, x int) int
- func TargetSum(nums []int, target int) int
- func TargetSum2(nums []int, target int) int
- type ListNode
- func IntersectionOfTwoLinkedLists(headA, headB *ListNode) *ListNode
- func IntersectionOfTwoLinkedLists2(headA, headB *ListNode) *ListNode
- func RemoveLinkedListElements(head *ListNode, val int) *ListNode
- func RemoveLinkedListElements2(head *ListNode, val int) *ListNode
- func ReverseLinkedListII(head *ListNode, left int, right int) *ListNode
- func ReverseLinkedListII2(head *ListNode, left, right int) *ListNode
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BinaryWatch ¶
func CoinChange2 ¶
func ContainsDuplicateIII ¶
func ContiguousArray ¶
func ContinuousSubarraySum ¶
func CourseScheduleIV ¶
func FirstBadVersion ¶
func KokoEatingBananas ¶
func MinimumJumpsToReachHome ¶
Types ¶
type ListNode ¶
func IntersectionOfTwoLinkedLists ¶
func IntersectionOfTwoLinkedLists(headA, headB *ListNode) *ListNode
func IntersectionOfTwoLinkedLists2 ¶
func IntersectionOfTwoLinkedLists2(headA, headB *ListNode) *ListNode
hash
func RemoveLinkedListElements ¶
func RemoveLinkedListElements(head *ListNode, val int) *ListNode
func RemoveLinkedListElements2 ¶
func RemoveLinkedListElements2(head *ListNode, val int) *ListNode
func ReverseLinkedListII ¶
栈解法
func ReverseLinkedListII2 ¶
Source Files ¶
- binaryWatch.go
- checkIfNumberIsASumOfPowersOfThree.go
- coin.go
- coinChange2.go
- containsDuplicateIII.go
- contiguousArray.go
- continuousSubarraySum.go
- courseScheduleIV.go
- eatFavoriteCandyAtFavoriteDay.go
- firstBadVersion.go
- intersectionOfTwoLinkedLists.go
- kokoEatingBananas.go
- minimumJumpsToReachHome.go
- removeLinkedListElements.go
- reverseLinkedListII.go
- targetSum.go
Click to show internal directories.
Click to hide internal directories.