We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Please tell why my testcases are faling
long candies(int n, vector arr) {
long ans=1;
long curr_val=1;
int i;
int flag=0;
stack st;
if(n==1){return 1;}
for( i=1;i
Candies
You are viewing a single comment's thread. Return to all comments →
Please tell why my testcases are faling long candies(int n, vector arr) { long ans=1; long curr_val=1; int i; int flag=0; stack st; if(n==1){return 1;} for( i=1;i
}