Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
Tags
- html
- react-native
- nextjs
- Git
- Can't resolve
- Failed to compiled
- rolldown
- 티스토리 성능
- animation
- custom printing
- device in use
- dvh
- augmentedDevice
- vercel git lfs
- camera access
- github lfs
- camera permission
- ELECTRON
- Recoil
- npm package
- adb pair
- github pdf
- silent printing
- 이미지 데이터 타입
- Each child in a list should have a unique "key" prop.
- react-native-dotenv
- ffi-napi
- electron-packager
- adb connect
- github 100mb
Archives
- Today
- Total
Bleeding edge
[LeetCode] 75. Sort Colors - 자바스크립트 0616 본문
https://leetcode.com/problems/sort-colors/
Sort Colors - LeetCode
Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview.
leetcode.com
sort를 활용해서 푸는 문제이다. 오늘 풀었던 easy문제보다 쉬운문제이다. easy로 난이도 조정이 되야하지 않을까..생각이 든다.
var sortColors = function(nums) {
return nums.sort((a,b)=>a-b)
};
'코딩테스트 공부' 카테고리의 다른 글
| [LeetCode] Reverse Prefix of Word - 자바스크립트 0617 (0) | 2022.06.17 |
|---|---|
| [LeetCode] 1299. Replace Elements with Greatest Element on Right Side - 자바스크립트 0617 (0) | 2022.06.17 |
| [LeetCode] 136. Single Number - 자바스크립트 0616 (0) | 2022.06.16 |
| [LeetCode] 3. Longest Substring Without Repeating Characters - 자바스크립트 0614 (0) | 2022.06.14 |
| [LeetCode] 79. Word Search - 자바스크립트 0613 (0) | 2022.06.13 |