| Question You have k lists of sorted integers. Find the smallest range that includes at least one number from each of the k lists. For example, List 1: [4, 10, 15, 24, 26] List 2: [0, 9, 12, 20] List 3: [5, 18, 22, 30] The smallest range here would be [20, 24] as it contains 24 from list 1, 20 from list 2, and 22 from list 3. 번역 : 정수로 이루어진 배열 k개가 주어졌을 때, 각 배열의 원소를 적어도 하나 포함하는 가장 작은 범위를 찾아라. 예를 ..
![](http://i1.daumcdn.net/thumb/C148x148.fwebp.q85/?fname=https://blog.kakaocdn.net/dn/AdiAC/btrJKZWNlha/ZKMQBX9BiG4oaCGB9vWyGk/img.jpg)
Question Implement pow(x, n), which calculates x raised to the power n (i.e., xn). x의 n승을 리턴하는 pow 함수를 구현하라. 제약사항 -100.0 < x < 100.0 -2^31 = 1; } } if (n < 0) { ans = (double)(1.0) / (double)(ans); } return ans; } }; // 해당 문제의 Discuss 참고 출처 : https://leetcode.com/explore/interview/card/top-interview-questions-medium/113/math/818/ Explore - LeetCode LeetCode Explore is the best place for everyone..
- Total
- Today
- Yesterday
- coding interview
- 속초 맛집
- 기술면접
- 내돈내산
- PS
- 인터뷰
- 코딩인터뷰
- 맛집
- rust
- Problem Solving
- 트리
- 러스트
- 러스트 기초
- interview question
- 리트코드
- 자료구조
- 러스트 입문
- LeetCode
- 반드시 알아야 할 자료구조
- 러스트 배우기
- Tree
- ProblemSolving
- 솔직후기
- 속초
- C++
- DP
- Medium
- algorithm
- 알고리즘
- Interview
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |