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
func solution(_ s:String)->String{varb= false
varresult=""
for i in s {
result += i =="" ? "":(b ? i.lowercased(): i.uppercased())
b = i =="" ? false : !b
}return result
}
The text was updated successfully, but these errors were encountered:
💬 문제
[코딩테스트 연습 - 이상한 문자 만들기](https://school.programmers.co.kr/learn/courses/30/lessons/12930)
💬 Idea
💬 풀이
The text was updated successfully, but these errors were encountered: