일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- 코어자바스크립트
- JavaScript
- 객체지향의 사실과 오해
- 쿠버네티스
- 파이썬
- v-if
- 이벤트캡쳐링
- 3003번
- v-for
- 우테코
- hoisting
- 빅오표기법
- 10869번
- MSA
- 배열파티션
- 리스트복사
- 이벤트버블링
- 도커
- 젠킨스
- 2588번
- 10926번
- v-on
- DevOps
- 실행 컨텍스트
- vue
- 백준
- Python
- v-model
- 프리코스
- LeetCode
- Today
- Total
목록Algorithm/Leetcode (9)
새오의 개발 기록

문자열 배열을 받아 애너그램 단위로 그루핑하라. *애너그램이란 일종의 언어 유희로 문자를 재배열하여 다른 뜻을 가진 단어로 바꾸는 것 ex) 문전박대 -> 대박전문 Group Anagrams - 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 // 입력 예제 ["eat", "tea", "tan", "ate", "nat", "bat"] // 출력 예제 [ ["ate","eat","tea"], ["nat","tan"], ["bat"] ] 같은 애너그램 단위로 묶으라는..

금지된 단어를 제외한 가장 흔하게 등장하는 단어를 출력하라. 대소문자 구분을 하지 않으며, 구두점(마침표, 쉼표 등 또한 무시한다.) Most Common Word - 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 // 입력 예제 paragraph = "Bob hit a ball, the hit BALL flew far after it was hit." // 출력 예제 "ball" 풀이 1. 정규 표현식, filter, Counter def mostCommonW..

로그를 재정렬 하라. 조건 - 로그의 가장 앞 부분은 식별자이다. - 문자로 구성된 로그가 숫자 로그보다 앞에 온다. - 로그의 내용을 기준으로 정렬하고 내용이 동일할 경우, 식별자를 기준으로 정렬한다. - 숫자 로그는 입력받은 순서대로 한다. Reorder Data in Log Files - 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 // 입력 예제 logs = ["dig1 8 1 5 1", "let1 art can", "dig2 3 6", "let2 ow..

주어진 문자열이 팰린드롬인지 확인하라. 대소문자를 구분하지 않으며, 영문자와 숫자만을 대상으로 한다. * 팰린드롬이란 앞뒤가 똑같은 단어나 문장으로, 뒤집어도 같은 말이 되는 단어 또는 문장 ex) '소주 만 병만 주소' Valid Palindrome - 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 // 입력 예제 ["A man, a plan, a canal: Panama"] // 출력 예제 true 풀이 1. 리스트로 변환 def isPalindrome(se..