[Algorithm]

seoyun_leeΒ·2022λ…„ 9μ›” 11일

Algorithm

λͺ©λ‘ 보기
11/53
post-thumbnail

πŸ¦• λ‚˜λ¨Έμ§€κ°€ 1이 λ˜λŠ” 수 μ°ΎκΈ°

πŸ€ 문제 풀이

🌲 회고

이 λ¬Έμ œλŠ” for loopλ₯Ό μ΄μš©ν•΄ μ΄ˆκΈ°κ°’μ„ let i = 2둜 μ œν•œ μ‘°κ±΄μ—μ„œ n은 μ΄μƒμ΄λ―€λ‘œ, λ‚˜λˆ„λŠ” 수(i)의 μ΅œμ†Ÿκ°’μ΄ 1이 될 순 μ—†μ–΄μ„œ 2둜 μ‹œμž‘ν•΄μ„œ ν’€λ©΄ λœλ‹€.

profile
Frontend Developer · 기둝 ⭐

0개의 λŒ“κΈ€