You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem statement says that the resultant list should contain the values whose indices match the indices in the original list (and obviously the values), but the sample output has you believing otherwise since:
The problem statement says that the resultant list should contain the values whose indices match the indices in the original list (and obviously the values), but the sample output has you believing otherwise since:
should return (acc to the problem statement) :
[1,-1,-1,10,-1,-1,-1]
but sample output is:
[1,-1,-1,10,-1,20,30]
do i not understand the problem statement?
The text was updated successfully, but these errors were encountered: