Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- ubuntu
- 편스토랑 우승상품
- 백준
- Baekjoon
- 우분투
- 금융문자분석경진대회
- Docker
- 더현대서울 맛집
- Real or Not? NLP with Disaster Tweets
- 맥북
- github
- gs25
- 데이콘
- hackerrank
- SW Expert Academy
- 캐치카페
- 프로그래머스
- leetcode
- Git
- 자연어처리
- 파이썬
- AI 경진대회
- 편스토랑
- 코로나19
- PYTHON
- ChatGPT
- 프로그래머스 파이썬
- dacon
- Kaggle
- programmers
Archives
- Today
- Total
목록
반응형
2020/11/21 (1)
반응형
솜씨좋은장씨
[leetCode] 338. Counting Bits (Pyhton)
Given a non negative integer number num. For every numbers i in the range 0 ≤ i ≤ num calculate the number of 1's in their binary representation and return them as an array. Example 1: Input: 2 Output: [0,1,1] Example 2: Input: 5 Output: [0,1,1,2,1,2] Follow up: It is very easy to come up with a solution with run time O(n*sizeof(integer)). But can you do it in linear time O(n) /possibly in a sin..
Programming/코딩 1일 1문제
2020. 11. 21. 16:46
반응형