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 |
31 |
Tags
- 금융문자분석경진대회
- 백준
- programmers
- Baekjoon
- AI 경진대회
- 코로나19
- SW Expert Academy
- 맥북
- 캐치카페
- PYTHON
- Git
- 파이썬
- ChatGPT
- 데이콘
- 프로그래머스
- github
- 우분투
- Docker
- leetcode
- gs25
- Real or Not? NLP with Disaster Tweets
- 프로그래머스 파이썬
- 편스토랑
- 편스토랑 우승상품
- ubuntu
- Kaggle
- dacon
- hackerrank
- 더현대서울 맛집
- 자연어처리
Archives
- Today
- Total
목록
반응형
476. Number Complement (1)
반응형
솜씨좋은장씨
[leetCode] 476. Number Complement (Python)
Given a positive integer num, output its complement number. The complement strategy is to flip the bits of its binary representation. Example 1: Input: num = 5 Output: 2 Explanation: The binary representation of 5 is 101 (no leading zero bits), and its complement is 010. So you need to output 2. Example 2: Input: num = 1 Output: 0 Explanation: The binary representation of 1 is 1 (no leading zero..
Programming/코딩 1일 1문제
2021. 1. 27. 00:07
반응형