| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- CSS
- Algorithm
- string
- scss
- java
- 변수
- computed
- 자료구조
- SasS
- math
- 파이썬
- 알고리즘
- Python
- github
- 백준
- JavaSceipt
- leetcode
- sorting
- 자료형
- array
- JavaScript
- hash table
- greedy
- 코딩테스트
- dynamic programming
- JS
- 컴포넌트
- vue.js
- HTML
- 프로그래머스
- Today
- Total
목록leetcode (9)
Posis
[LeetCode][JavaScript] 860. Lemonade Change 문제 출처: https://leetcode.com/problems/lemonade-change/ Lemonade Change - 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 lemonadeChange = function (bills) { var count5 = 0; var count10 = 0; for (var i = 0; i < bills.length; i..
[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..
[LeetCode][JavaScript] 1025. Divisor Game 문제 출처: https://leetcode.com/problems/divisor-game/ Divisor Game - 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 divisorGame = function (N) { return N % 2 == 0; }; [풀이 방법] 이번 문제는 이해하기가 힘들어 단순하게 예시만 보고 풀었습니다. 혹시나 문제를 이해하시고 다른 ..