1 wrong test case

@n.nishchaya2000
You have implemented the stock span algorithm incorrectly. You would require atleast one more array to store your answers as your outputs won’t be generated in linear manner in the loop.
Here’s a testcase for you to try
Input :
5
30
40
35
45
42
Expected Output :
1 2 1 4 1 END
Your code gives a different output.