일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- HTML
- 파이썬
- github
- 컴포넌트
- 알고리즘
- greedy
- JS
- computed
- SasS
- vue.js
- leetcode
- 자료구조
- scss
- hash table
- math
- array
- string
- Algorithm
- dynamic programming
- JavaSceipt
- java
- 백준
- Python
- sorting
- JavaScript
- CSS
- 코딩테스트
- 자료형
- 프로그래머스
- 변수
- Today
- Total
목록string (3)
Posis
[LeetCode][JavaScript] 1436. Destination City 문제 출처: https://leetcode.com/problems/destination-city/ Destination City - 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 destCity = function(paths) { let dest = paths[0][1] while(true){ const _newDest = paths.find(path =>..
[LeetCode][JavaScript] 389. Find the Difference 문제 출처: https://leetcode.com/problems/find-the-difference/ Find the Difference - 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 findTheDifference = function (s, t) { s = s.split('').sort(); t = t.split('').sort(); for (l..
[LeetCode][JavaScript] 1859. Sorting the Sentence 문제 출처: https://leetcode.com/problems/sorting-the-sentence/ Sorting the Sentence - 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 [직접 푼 코드] const sortSentence = function(s) { return s.split(' ') .sort((a,b) => a[a.length-1] - b[b.le..