์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- Firestore
- RxSwift
- Encodable
- DispatchQueue
- nodejs
- ios
- mongoose
- ์ง๋ฒ๋ณํ
- Cloud Firestore
- Filter
- ์ฑ๋์์ธ
- components
- Codable
- MongoDB
- CRUD
- UIRefreshController
- Core Data
- map
- SWiFT
- String.Index
- AVAudioPlayer
- ์ฑ๋ง๋ค๊ธฐ
- ์๊ณ ๋ฆฌ์ฆ
- ExpressJS
- Firestore CRUD
- Mac
- ํ๋ก๊ทธ๋๋จธ์ค
- Reduce
- Decodable
- Figma
- Today
- Total
๋ชฉ๋กStack (1)
Focus On Develop ๐ค๐ค

์๋๋.. ํฐ ์๊ฐ ์์ ์ฌ์๋ก ์ข์๊ฒ์ด์ฌ! ์ข์๊ฒ ์ข์๊ฒ์ด์ฌ! ๐ ๋ผ๋ ํ๋จ์ผ๋ก ์์ํ๋ค. k๊ฐ๋ฅผ ์ง์ด๋ค๋ ๊ฒ์ ๊ฒฐ๊ณผ๋ฅผ number.count - k ์๋ฆฌ ์๋ก ๋ง๋ ๋ค๋ ๊ฒ์ด๋ค. ์ฃผ์ด์ง number์์ ๋ฑ์ฅํ๋ ์ซ์๋ฅผ Set์ผ๋ก ์ค๋ณต์ ๊ฑฐํ ํ์ ์ ๋ ฌํ๋ค๋ฉด, ๋ฑ์ฅํ๋ ์ซ์๋ค์์ ํฐ์๋ฅผ ์์๋๋ก ์ฌ์ฉํ ์ ์๋ค. ๊ทธ๋ผ ๊ฐ์ฅ ํฐ ์๊ฐ number์์ ๋ฑ์ฅํ๋ ์ฒซ๋ฒ์งธ index๋ฅผ ์ฐพ๊ณ , ์ด ๊ฐ์ด ๊ฒฐ๊ณผ๊ฐ์ ๋ค์ด๊ฐ ์ ์์๊น? (๊ฒฐ๊ณผ๊ฐ์ ๋จ์ ์๋ฆฌ์๋ณด๋ค number์์ ์ด๊ฐ ๋ค์ ๋จ์ ์ซ์์ ๊ฐฏ์๊ฐ ๋ง์์ผํจ)๋ฅผ ์ฒดํฌํ ๋ค์.. ํ๋์ฉ ๋ฃ์ด์ฃผ๋ฉด ๋๊ฒ ๊ตฐ! ๊ทธ๋ฆฌ๊ณ ์ฌ์ฉํ ๊ฐ์ฅ ํฐ ์์, number์์ ์ฒ์~ํฐ์๊ฐ ์กด์ฌํ๋ ์ธ๋ฑ์ค๊น์ง๋ฅผ ์ญ์ ํด์ค๋ค.(์ด์ ๊ฐ์ ํ์๋ ์์๋ฟ๋๋ฌ ํ์ ์๊ฐ๋ง ๋ฆ์ถค ใ ใ ) ์๋ฅผ๋ค์ด์.. "..