Test case 0 failed!

please modify my code to pass test case 0.
link to my code-https://ide.codingblocks.com/s/241952

hello @pulkit_pandey09
ur logic is not correct.
pls check this article for solution -> https://www.geeksforgeeks.org/the-stock-span-problem/

test case zero not passed. corrected my code. Can you please point out whats the error. https://ide.codingblocks.com/s/241952

pulkit i already checked ur code. it is not correct. it have tested it on some test cases it is giving wrong answer.

thats why i shared u the solution article.

check this ->


output is not correct

1 Like