728x90
function getFinalString(s) {
let finalString = s;
while (finalString.includes("AWS")){
finalString = finalString.replace("AWS", "");
}
return finalString.length > 0 ? finalString : -1 ;
}
728x90
function getFinalString(s) {
let finalString = s;
while (finalString.includes("AWS")){
finalString = finalString.replace("AWS", "");
}
return finalString.length > 0 ? finalString : -1 ;
}