일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 다해요
- lab03-03.exe
- 투두리스트
- toVillage
- to-do
- 마을짓기
- 균형이진트리
- orcle
- leetcode
- 악코분
- N-ary Tree Preorder Traversal
- dualtable
- 듀얼테이블
- 투빌리지
- TODOLIST
- 사이버보안
- 토이프로젝트
- B트리
- gamification
- 대학생
- JS
- 자바스크립트
- 리버싱
- Practicalmalwareanalysis
- 가차시스템
- 쿠킹덤
- 릿코드
- 사이드프로젝트
- JavaScript
- 악성코드분석
- Today
- Total
목록자바스크립트 (2)
이것저것
https://leetcode.com/problems/longest-palindrome/description Longest Palindrome - LeetCode Can you solve this real interview question? Longest Palindrome - Given a string s which consists of lowercase or uppercase letters, return the length of the longest palindrome that can be built with those letters. Letters are case sensitive, for example, leetcode.com 문제 문제 해석 소문자 또는 대문자로 구성된 문자열을 지정할 경우 해당..
https://leetcode.com/problems/linked-list-cycle-ii/?envType=study-plan&id=level-1 문제 문제 해석 매개변수로, 연결리스트인 head가 주어지고, 순환이 시작되는 노드를 반환해야 한다. 순환이 없다면 null을 반환해야 한다. pos의 값은 매개변수로 주어지지 않으며, 연결리스트를 수정해서는 안된다. 정답코드 let detectCycle = (head) => { let fast = head; let slow = head; while(fast && fast.next) { fast = fast.next.next; slow = slow.next; if(fast === slow) { slow = head; while(fast !== slow) { f..