일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- mac hadoop 설정
- 카카오 자물쇠와 열쇠
- hive beeline 실행
- 카카오 2020 코딩테스트
- 자소서 빨리
- 자소서 너무 오래 걸림
- code=0)
- hadoop safe mode leave
- mac hive
- hive beeline 에러
- 카카오 2020 코테
- Failed to connect to localhost:10000
- 이더리움
- hive beeline
- Resources are low on NN
- is not allowed to impersonate hive (state=08S01
- mac hive 3
- 도커 교과서
- hive beeline 설정
- Safe mode is ON
- 자소서 빨리 쓰는 법
- 백준 18428
- hadoop safe mode
- mac hadoop
- 기업 조사 빨리 하는 법
- mac hadoop 설치
- Could not open client transport with JDBC Uri: jdbc:hive2://localhost:10000
- 자소서 시간 줄이기
- mac hadoop 3
- 이더리움 #ethereum
- Today
- Total
목록Algorithm (45)
A seeker after truth
P) Determine if a sentence is a pangram. A pangram (Greek: παν γράμμα, pan gramma, "every letter") is a sentence using every letter of the alphabet at least once. The best known English pangram is: > The quick brown fox jumps over the lazy dog. The alphabet used consists of ASCII letters `a` to `z`, inclusive, and is case insensitive. Input will not contain non-ASCII symbols. mysol) def is_pangr..
P) Given a year, report if it is a leap year. The tricky thing here is that a leap year in the Gregorian calendar occurs: ```text on every year that is evenly divisible by 4 except every year that is evenly divisible by 100 unless the year is also evenly divisible by 400 ``` For example, 1997 is not a leap year, but 1996 is. 1900 is not a leap year, but 2000 is. mysol) def leap_year(year): if ye..
sol1) 참고 - https://itholic.github.io/python-reverse-string/ def reverse(text): return text[::-1] sol2) s = 'abcde' s_list = list(s) s_list.reverse()# reverse는 list에만 사용 가능 print(''.join(s_list)) sol3) print(''.join(reversed(s))) #reversed는 문자열에 바로 적용이 가능하다. #join 함수는 리스트와 문자열에 모두 사용 가능(iterable한 것)
문제: https://programmers.co.kr/learn/courses/30/lessons/42748 def solution(array, commands): return list(map(lambda x:sorted(array[x[0]-1:x[1]])[x[2]-1], commands)) 람다 & 맵의 조화에 더 익숙해지고 훈련해야 한다.
* 본문은 (범한서적주식회사, 2013)을 공부하면서 작성한 글입니다. 향후 객체지향 및 자료구조 수업을 들으며 정확한 + 최신 내용 이해를 반영하여 보완해 나갈 것입니다. 1. STL을 사용할 경우 스택 객체를 선언하기 위해선 먼저 stack이라 불리는 정의 파일을 먼저 포함해야 한다. STL벡터 클래스와 마찬가지로 스택 클래스도 std네임스페이스에 포함되기 때문에, "std::stack"으로 사용하던지 using 문을 사용해야 한다. 스택 클래스는 개별 원소의 클래스를 사용할 수 있는 템플릿으로 만들어졌다. #include using std::stack stack myStack; 스택에 포함된 원소의 타입을 스택의 기본 타입이라 한다. STL 스택 역시 STL 벡터처럼 새 원소가 삽입되면 동적으로 자..
* 본문은 (범한서적주식회사, 2013)을 공부하면서 작성한 글입니다. 향후 객체지향 및 자료구조 수업을 들으며 정확한 + 최신 내용 이해를 반영하여 보완해 나갈 것입니다. 커서에 의해 참조되는 노드는 back이라고 부르고, 바로 다음 노드는 front 라고 부른다는 것에 주의하라! 의 경우 유일한 노드가 아니라면 커서 자체가 아닌!!! 커서 바로 다음 노드를 삭제한다. 만일 리스트가 비어있다면, 커서는 null을 세팅한다.