일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- html
- camera access
- Can't resolve
- github lfs
- npm package
- nextjs
- dvh
- Each child in a list should have a unique "key" prop.
- github pdf
- vercel git lfs
- react-native
- ELECTRON
- adb connect
- animation
- Recoil
- 이미지 데이터 타입
- silent printing
- Git
- Failed to compiled
- adb pair
- device in use
- camera permission
- rolldown
- electron-packager
- augmentedDevice
- react-native-dotenv
- custom printing
- ffi-napi
- 티스토리 성능
- github 100mb
- Today
- Total
목록코딩테스트 공부 (79)
Bleeding edge
https://leetcode.com/problems/replace-elements-with-greatest-element-on-right-side/ Replace Elements with Greatest Element on Right Side - 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 주어진 arr에서, 본인의 오른쪽에 위치한 숫자중 가장 큰 숫자를 push하는 문제이다. arr의 길이가 n개라면 return한 값의 arr도 n개가 나와야한다. 주의할 ..
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) };
https://leetcode.com/problems/single-number/ Single Number - 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 주어진 숫자가 1번 주어진 싱글 넘버를 리턴해라인 문제였다. 이 문제는 다양한 문자가 주어진다고 생각하고, 삭제를 쉽게할 수 있게 map을 사용하였다. 1. map을 만든다 const evenCheck = new Map() 2. 주어진 num를 이용하여 for문을 만든다. for (let i = 0; i < ..
https://leetcode.com/problems/longest-substring-without-repeating-characters/ Longest Substring Without Repeating Characters - 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 주어진 str으로 글자가 겹치지 않게 str을 붙여라!이다. 예시문자를 "abcabcbb"라고 하면 "abc" -> "abc" + "b"를 한다고하면 b가 이미 있기때문에 x! 그리고 단어를 ..

https://leetcode.com/problems/word-search/ Word Search - 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 이 문제는, dfs bfs 두문제 풀이가 가능하다. 하지만 여기서는 dfs로 문제를 풀이를 하기로 한다! 1. 이 문제는 중복으로 재방문을 하면 안되므로 visited라는 정렬을 만들어서 재방문을 체크하는 것이 중요하다. 문제가 살짝 길어질꺼같으니, function으로 분리하자. 여기서 h,와 w는 board의 le..

https://leetcode.com/problems/shuffle-string/ Shuffle String - 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 문제에 str한개와 array 하나가 주어진다. array에 주어진 순서대로 str에 있는 글자를 옮기면된다. 문제 풀이 1. 문자를 한글자 떼고, array의 글자와 붙여서 새로운 정렬에 대입한다 const calc = [] for (let i = 0; i < s.length; i++) { calc.pu..
https://leetcode.com/problems/add-two-integers/submissions/ Add Two Integers - 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 음.. 랜덤으로 픽해서 문제를 풀이를 하는데 너무.. 이지한 문제가 나왔다.. var sum = function (num1, num2) { return num1 + num2 }; 문제에 주어진 두 변수를 더해서 리턴한다
https://leetcode.com/problems/replace-elements-in-an-array/ Replace Elements in an Array - 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 문제 자체는 상당히 심플하다. nums에 있는 숫자를 operations에 주어진 arr에 따라 값을 바꾸도록한다 nums[0] 이 5라고 할 때, operation[n]이 [5, 4]라고 하면 nums[0]은 4로 바꾸는 문제이다. 이문제를 3번정도 풀이..
https://leetcode.com/problems/rearrange-characters-to-make-target-string/ Rearrange Characters to Make Target String - 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 문제를 잘못이해해서 문제를 두번 풀었다.. 1. target에 주어진 알파벳 숫자를 카운트한다 2. s에 주어진 알파벳 숫자를 카운트한다. const maperMake = (target) => { let m..