You are viewing a single comment's thread. Return to all comments →
I've a question regarding your test case number #2
The sequence of height starts like 1401 2019 1748 3785 3236 ...
And the expected output is 1859.
To start with to reach the 1'st element itself, we'll need 1401.
And the second element is 618 units higher than the first.
So this means, we should start with atleast 2019 to successfully reach till the second element.
So how this is possible with 1859?
Seems like cookies are disabled on this browser, please enable them to open this website
Chief Hopper
You are viewing a single comment's thread. Return to all comments →
I've a question regarding your test case number #2
The sequence of height starts like 1401 2019 1748 3785 3236 ...
And the expected output is 1859.
To start with to reach the 1'st element itself, we'll need 1401.
And the second element is 618 units higher than the first.
So this means, we should start with atleast 2019 to successfully reach till the second element.
So how this is possible with 1859?