-
알고리즘 문제 1헬리'Daily/꾸준한 알고리즘 2023. 5. 29. 01:33728x90
function getFinalString(s) { let finalString = s; while (finalString.includes("AWS")){ finalString = finalString.replace("AWS", ""); } return finalString.length > 0 ? finalString : -1 ; }
728x90