| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- dvh
- react-native-dotenv
- custom printing
- nextjs
- github pdf
- ffi-napi
- npm package
- github 100mb
- augmentedDevice
- react-native
- github lfs
- Each child in a list should have a unique "key" prop.
- device in use
- camera permission
- camera access
- rolldown
- Recoil
- 티스토리 성능
- html
- adb connect
- animation
- silent printing
- electron-packager
- Failed to compiled
- 이미지 데이터 타입
- vercel git lfs
- adb pair
- Can't resolve
- Git
- ELECTRON
- Today
- Total
목록2022/06/30 (4)
Bleeding edge
1. 어원 Mutex : Mutal eXclusion 상호 배제 Semaphore = Sema(sign) + phros(bearer) 신호 운반자 2. 둘을 사용하는 이유 공유메모리를 통해 공유된 자원에 여러 개의 프로세스가 동시에 접근하면 Critical Section 문제를 막기 위해 사용한다. 뮤텍스 : 동시 프로그래밍에서 공유 불가능한 자원의 동시 사용을 피하기 위해 사용하는 알고리즘 세마포어 : 멀티 프로그래밍 환경에서 공유된 자원에 대한 접근을 제한하는 방법 둘의 차이점 세마포어는 뮤텍스가 될수 있지만, 뮤텍스는 세마포어가 될 수 없습니다. 뮤텍스는 항상 열쇠 1개이고, 세마포어는 여러개 가질 수 있기 때문에 세마포어의 열쇠가 1개라면 뮤텍스와 같습니다. 세마포어는 파일시스템 상 파일형태로 존..
https://leetcode.com/problems/find-all-lonely-numbers-in-the-array/ Find All Lonely Numbers in the 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 오늘 비슷한문제의 easy문제를 풀었었는데.. 이 문제에서도 처음 풀이를 할 때 시간초과가 나왔다.. ㅠㅠㅠ 초과가 나온풀이는 var findLonely = function (nums) { const unique = distin..
https://leetcode.com/problems/count-common-words-with-one-occurrence/ Count Common Words With One Occurrence - 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 주어진 두개의 array에서 중복이 없는 것들 중에서 두개의 중복이 되는 array의 length를 구하는 문제이다. 1. 각 array에 중복이 없는 child를 구하는 function을 구하고 2. 두개에서 공통적인 ..
https://leetcode.com/problems/merge-strings-alternately/ Merge Strings Alternately - 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 최대한 깔끔하게 보이게 하려고 풀이를 했다. 우선 이문제같은경우는 condition || falsy 를 사용하여 값을 가지고있는지 아닌지를 사용하는게 좋은 문제이다. 1. word1과 word2중에 길이가 더 긴 것을 구한다. 정답을 받을 result를 선언한다 co..