์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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
- ํ๋ก๊ทธ๋๋จธ์ค
- BFS
- Xcode
- TCA
- SwiftUI
- reactorkit
- ios
- SnapKit
- rxcocoa
- visionOS
- designpattern
- Swfit
- ํจ์คํธ์บ ํผ์ค
- Kuring
- ๋ฐฑ์ค
- UIKit
- combine
- arkit
- RxSwift
- CollectionView
- XCTest
- BOJ
- Lv2
- realm
- Flutter
- raywenderlich
- node.js
- tableView
- swift
- MVVM
Archives
- Today
- Total
๋ชฉ๋ก๋น๋ฐ์ง๋ (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