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
- github 100mb
- silent printing
- nextjs
- augmentedDevice
- dvh
- Recoil
- rolldown
- ELECTRON
- camera access
- 이미지 데이터 타입
- npm package
- camera permission
- github lfs
- Can't resolve
- react-native-dotenv
- Each child in a list should have a unique "key" prop.
- adb connect
- device in use
- Failed to compiled
- electron-packager
- Git
- animation
- react-native
- adb pair
- html
- github pdf
- ffi-napi
- vercel git lfs
- 티스토리 성능
- custom printing
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 |