Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- GCP
- 백준
- Kotlin
- java
- mobaXTerm
- go
- docker
- Top-down
- Python
- Dynamic Programming
- 피보나치
- GKE
- 그리디
- Singleton Pattern
- BubbleSort
- LeetCode
- easy
- Backjoon
- Codility
- Programmers
- 파이썬
- 알고리즘
- golang
- github
- cpu scheduling
- Observer Pattern
- k8s
- KAKAO
- kubernetes
Archives
- Today
- Total
목록LeetCode (37)
To Be Developer
class Solution(object): def singleNumber(self, nums): """ :type nums: List[int] :rtype: int """ # input Data 는 비어 있지 않는 리스트 형태이다. # 리스트 안의 원소를 같은 것의 수를 카운트 한 후 # 카운트 숫자가 한 개인 원소의 값을 리턴 시킨다. # input Data 가 [2, 2, 1] 이라고 가정하고 풀어보자 # 각 숫자들의 정보를 집어 넣을 비어있는 리스트를 준비 lst = [] # 매개변수가 int를 원소로 가지고 있는 List 형태이다. # 매개변수 nums를 for 문으로 하나하나 원소를 꺼낸다. for i in nums: # 리스트 안의 원소를 카운트 할 것이기 때문에 # keys = 'num' :..
알고리즘/LeetCode
2019. 3. 2. 22:28