Grokking Meta Coding Interview
Ask Author
Back to course home

0% completed

Vote For New Content
Milind Topno
invalid testcase

Milind Topno

May 18, 2025

[10,9,8,7,6,5,4,3,2,1,0]

it is given that heights[i] > 1

but here heights[10] == 0

1

0

Comments
Comments
k wargs
k wargs5 months ago

Another test case has the input [] which violates the constraint: 1 <= heights.length <= 105

Design Gurus
Design Gurus5 months ago

We have fixed these test cases. Thanks for pointing these out.

On this page