its a general stock span problem: iam doing this problem for last 3 hrs but couldn\'t find the bug in my code for input [\'74\', \'665\', \'742\'] ans should be "1 2 3&