Grokking the Coding Interview: Patterns for Coding Questions
Ask Author
Back to course home

0% completed

Vote For New Content
Incorrect Constraint

Pete Stenger

Sep 18, 2024

  • nums[i] < nums[j] for 1 <= i < j <= nums.length

Is not true if the array is unsorted.

0

0

Comments
Comments
P
Pete Stengera year ago

Also this is incorrect

  • 1 <= nums[i] <= 1000

Who is writing these?

Design Gurus
Design Gurusa year ago

That is right. We have removed the constraint.

On this page