-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
💬 문제
[코딩테스트 연습 - 3진법 뒤집기](https://school.programmers.co.kr/learn/courses/30/lessons/68935)
💬 풀이
func solution(_ n:Int) -> Int {
return Int(String(String(n, radix: 3).reversed()), radix: 3)!
}