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

0% completed

Vote For New Content
Julius Yudelson
Incorrect Test Case

Julius Yudelson

Nov 28, 2023

The fourth test (first hidden) is [5, 5, 5, 5, 5] but the problem states the array contains numbers 1 through N with N+1 numbers in the array.

0

0

Comments
Comments
Shubham Vora
Shubham Voraa year ago

Yes, the correct test case should be [5, 5, 5, 5, 5, 5].

On this page