์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
Tags
- Kuring
- reactorkit
- Lv2
- SnapKit
- BOJ
- RxSwift
- Flutter
- ํจ์คํธ์บ ํผ์ค
- raywenderlich
- Swfit
- XCTest
- UIKit
- combine
- MVVM
- realm
- tableView
- visionOS
- CollectionView
- designpattern
- BFS
- ํ๋ก๊ทธ๋๋จธ์ค
- ios
- Xcode
- SwiftUI
- arkit
- swift
- TCA
- node.js
- rxcocoa
- ๋ฐฑ์ค
Archives
- Today
- Total
๋ชฉ๋ก10์ง์2์ง์ (1)
lgvv98
[Swift] ํ๋ก๊ทธ๋๋จธ์ค LV1. [1์ฐจ] ๋น๋ฐ์ง๋
ํ๋ก๊ทธ๋๋จธ์ค LV1. [1์ฐจ] ๋น๋ฐ์ง๋ func solution(_ n:Int, _ arr1:[Int], _ arr2:[Int]) -> [String] { var answer: [String] = [] for i in 0.. String in if bit == "1" { return "#" } else { return " " } } while(cherry.count < n) { cherry.insert(" ", at: 0) } answer.append(cherry.joined()) } return answer } 10์ง์๋ฅผ 2์ง์๋ก ๋ฐ๊พธ์ด์ ํด์ผํ๋..? ์๊ฐํ์๋๋ฐ ๊ทธ๋ด ํ์๊ฐ ์๋๋ผ ์ํผ ์ด์ง ํ๋๋ฐ, ๊ทธ๋ฅ ๋ญ๊ฐ ์ ,, ์ค๋๋ง์ ๋นํธ ์ฐ์ฐ์ ์จ๋ณด๋ ๊ฒ ๊ฐ์์ ์ด๋ ๊ฒ๋ ์ธ ์ ์๋ค๊ณ ํฌ์คํ !
์ฝ๋ฉํ
์คํธ
2022. 3. 19. 16:16