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

우연히 광고를 통해서 CS 공부비서에 대해 알게되었다. 뭐 돈이드는것도 아니다보니.. 일단 친구등록을 했더니.. 당일 메시지가 도착했는데.. 오이.. 질문을 왜 너가해! 답변을줘!라고 생각을 했는데 다음날보니.. 네.. 질문을 제공하는거군요.. 그래서도착한 오늘 질문 사실 이걸 그냥 질문만 받는다고해서 내가 뭔가 되는게 아니다보니까, 오늘부터! CS 공부 비서가 물어본 것을 답변하기로 했다! https://codevil.tistory.com/126 [0629] 사설 IP와 공인 IP의 차이를 설명해 주세요 공인 IP 1. 전세계에서 유일하며, 공개되어있는 IP입니다. 2. ICANN기관에서 국가 별로 사용할 IP 대역을 관리하고 있습니다. 3. KT, LG유플러스, SK브로드밴 같은 ISP(인터넷 서비스..
공인 IP 1. 전세계에서 유일하며, 공개되어있는 IP입니다. 2. ICANN기관에서 국가 별로 사용할 IP 대역을 관리하고 있습니다. 3. KT, LG유플러스, SK브로드밴 같은 ISP(인터넷 서비스 공급자)가 제공하고 있습니다. 4. 공인 IP는 외부에 공개되어 있어서 인터넷에 연결된 다른 컴퓨터에 접근이 가능하기에 보안 프로그램이 필요합니다 사설 IP 1. 로컬 혹은 가상 IP라 불리며, 외부접근을 할 수 없는 IP입니다. 2. 일반 가정이나 회사에 할당되어있는 IP주소입니다. 3. IPv4의 주소 부족으로 인해 서브넷팅된 IP라서 라우터(공유기)에 의해 로컬 네트워크상의 PC나 장치에 할당됩니다. (사설IP만으로는 인터넷 직접연결이 안되며, 라우터를 통해 공인 IP를 할당하여 라우터에 연결된 개인..
https://leetcode.com/problems/simplified-fractions/ Simplified Fractions - 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 n이 주어진다면 1/2부터... (n-1)/n 까지 겹치지 않는 분수를 넣는 문제이다. 문제의 개념은 매우 심플하다. 1. 이문제의 경우 중복을 확인해야 하기 때문에 리스트를 리턴할 리스트와, 중복을 체크할 리스트 두개를 만든다. const result = [] const check ..

https://leetcode.com/problems/count-integers-with-even-digit-sum/ Count Integers With Even Digit Sum - 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부터 주어진 숫자까지의 숫자 중에서 (예시 주어진숫자가 5라면 1,2,3,4,5) 각 자리 숫자의 합이 짝수의 합 (예시, 11=>1+1은 짝수다). 1. answer은 0으로 설정한다 let answer =0 2. 1부너 n까지의 ..
https://leetcode.com/problems/two-out-of-three/ Two Out of Three - 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 3개의 array에 한번이라도 겹치는 경우가 있다면 그것을 리턴하는 문제이다. 1. 1번에 있는 숫자중에서, 2번 혹은 3번에 있는 숫자를 필터한다 const filteredNum1 = nums1.filter((x) => nums2.includes(x) || nums3.includes(x)) 2. ..
코딩테스트 문제를 풀다보면, new Map()이라는 생성자를 많이 사용하게된다. 문제를 풀다보면 이게 됬다 저게 안됬다 하는 경우가 상당히 많았었는데 오늘 문제를 풀면서 알게된 것이 있었다. map에는 저장하는 방법이 두가지가 있다. 1. set을 이용한 저장 방법 map.set(1,1) 2. map의 keyd에 저장하는 방법 map[2] = 2 위의 두가지 방법은 console로 표시를한다면, Map(1) { 1 => 1, '2': 2 } 이렇게 나온다. map으로써 저장된 1과, object로 저장된 2. 1로 저장한 방법같은 경우에는, 숫자로 저장되었고 2로 저장한방법은 문자열로 저장이 되었다. 두 저장방법에 따라서 또 사용할 수 있는 것도 다르다. 만일 1번방법으로 저장한 경우에는 Array.fr..
https://leetcode.com/problems/find-players-with-zero-or-one-losses/ Find Players With Zero or One Losses - 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. hash map과 return 할 result를 만든다 const hash = {} const result = [[], []] 2. 주어진 matches에서 갯수를 카운팅한다 matches.map(([win, lose]) ..
https://leetcode.com/problems/divide-array-into-equal-pairs/ Divide Array Into Equal Pairs - 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. 문제는 간단하다 2개의 짝이 떨어지는 경우를풀이를 해야하기 때문에 sort를 했다. let answer = nums.sort((a, b) => a - b)..