Banner

My Tech Blog (Algorithm/PCCP๊ณผ์ œํ…Œ์ŠคํŠธ)

๐Ÿ“‘ 1. ๋ฌธ์ œ์„ค๋ช…๐Ÿ’ก 2. ์ ‘๊ทผ๋ฐฉ์‹๋งŒ๋“ค์–ด์ค„ ๋ฉ”์„œ๋“œ๋Š” 4๊ฐ€์ง€ - ์˜คํ”„๋‹ ๋ ์œ„์น˜๋กœ ์ด๋™ํ•˜๋Š” `SkipOp()` ๋ฉ”์„œ๋“œ- ๋ช…๋ น์ด "next" ์ด๋ฉด 10์ดˆ ๋’ค๋กœ ์ด๋™ํ•˜๋Š” `moveToNext()`๋ฉ”์„œ๋“œ- ๋ช…๋ น์ด "prev" ์ด๋ฉด  10์ดˆ ์•ž์œผ๋กœ ์ด๋™ํ•˜๋Š” `moveToPrev()` ๋ฉ”์„œ๋“œ- String ํƒ€์ž…์œผ๋กœ ์ž…๋ ฅ ๋ฐ›์€ ์‹œ๊ฐ„์„ LocalTime์œผ๋กœ ํ˜•๋ณ€ํ™˜ ํ•˜๋Š” `getTime()`๋ฉ”์„œ๋“œ "mm:ss" ํ˜•์‹์œผ๋กœ ๋ฐ›์•„์˜จ ์‹œ๊ฐ„์„ ":" ๊ธฐ์ค€์œผ๋กœ ๋ถ„, ์ดˆ ๋‹จ์œ„๋กœ ๋‚˜๋ˆ„์–ด ๋ฐฐ์—ด์— ์ €์žฅํ•œ๋‹ค.LocalTime์ด ๊ฐ€์ง„ ๋ฉ”์„œ๋“œ๋กœ ์‹œ๊ฐ„ ๊ณ„์‚ฐ์„ ํ•˜๊ณ , ๋ฐ˜ํ™˜ํ•  ๋•Œ๋Š” ๋‹ค์‹œ "mm:ss" ํ˜•์‹์œผ๋กœ ํฌ๋งคํŒ… ํ•ด์„œ ๋ฐ˜ํ™˜ํ•ด ์ฃผ์–ด์•ผ ํ•จ.ํ˜„์žฌ ์‹œ๊ฐ„์ด ์˜คํ”„๋‹ ์œ„์น˜ ์•ˆ์— ์žˆ์„ ๋•Œ๋Š” ์ž๋™์œผ๋กœ SkipOp() ๋ฉ”์„œ๋“œ๊ฐ€ ํ˜ธ์ถœ๋œ๋‹ค. โญ 3. ์ •๋‹ต์ฝ”๋“œimp..
์ธ์ ˆ๋ฏธ์˜€๋˜๊ฒƒ
'Algorithm/PCCP๊ณผ์ œํ…Œ์ŠคํŠธ' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก
์ƒ๋‹จ์œผ๋กœ