MCPcopy Create free account
hub / github.com/austingebauer/go-leetcode / isIncreasing

Function isIncreasing

longest_increasing_subsequence_300/solution.go:124–132  ·  view source on GitHub ↗
(nums []int)

Source from the content-addressed store, hash-verified

122}
123
124func isIncreasing(nums []int) bool {
125 for i := 1; i < len(nums); i++ {
126 if nums[i-1] >= nums[i] {
127 return false
128 }
129 }
130
131 return true
132}

Callers 1

explore1Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected