Microsoft Questions 2023
Microsoft Questions 2023
Ans 1 :
stack[curr] = false;
return false;
}
return true;
}
Ans 2 :
public static int solution(String S) { //O(N)
int n = S.length();
if(n < 2) {
return 0;
}
int left[] = new int[n-1];
int right[] = new int[n-1];
return ans;
}