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
- 백준
- 프로그래머스 파이썬
- Git
- Real or Not? NLP with Disaster Tweets
- Kaggle
- 파이썬
- 금융문자분석경진대회
- github
- 프로그래머스
- 편스토랑 우승상품
- 데이콘
- 편스토랑
- leetcode
- ChatGPT
- AI 경진대회
- SW Expert Academy
- 맥북
- PYTHON
- gs25
- 우분투
- 더현대서울 맛집
- ubuntu
- dacon
- 자연어처리
- Docker
- hackerrank
- programmers
- Baekjoon
- 캐치카페
- 코로나19
Archives
- Today
- Total
목록
반응형
461. Hamming Distance (1)
반응형
솜씨좋은장씨
[leetCode] 461. Hamming Distance (Python)
The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance. Note: 0 ≤ x, y < 231. Example: Input: x = 1, y = 4 Output: 2 Explanation: 1 (0 0 0 1) 4 (0 1 0 0) ↑ ↑ The above arrows point to positions where the corresponding bits are different. Soltuion class Solution: def hammingDist..
Programming/코딩 1일 1문제
2021. 1. 12. 00:13
반응형