일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- medium
- 파이썬알고리즘
- heap
- 코드업
- slidingwindow
- stratascratch
- 구글퀵랩
- codeup
- SQL
- LeetCode
- dfs
- 니트코드
- gcp
- 파이썬
- two-pointer
- GenAI
- sql코테
- 자연어처리
- 파이썬기초100제
- Python3
- nlp
- 리트코드
- 생성형AI
- GenerativeAI
- 알고리즘
- 투포인터
- Python
- 슬라이딩윈도우
- Microsoft
- 릿코드
Archives
- Today
- Total
목록math.isqrt() (1)
Tech for good

Example 1:gifts = [25, 64, 9, 4, 100], k = 4[25, 64, 9, 4, 100]-> (1회) [25, 64, 9, 4, 10]-> (2회) [25, 8, 9, 4, 10]-> (3회) [5, 8, 9, 4, 10]-> (4회) [5, 8, 9, 4, 3] (floor or the square root - floor: 내림)5 + 8 + 9 + 4 + 3 = 29 Follow these steps:Pick the largest pile of gifts.Replace it with the floor of its square root.Repeat this for k seconds.🔧 Best Tool for This?We need to efficiently get the l..
IT/Computer Science
2025. 4. 4. 22:57