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
- 우분투
- 편스토랑
- SW Expert Academy
- Real or Not? NLP with Disaster Tweets
- 더현대서울 맛집
- programmers
- 편스토랑 우승상품
- Docker
- hackerrank
- dacon
- github
- 자연어처리
- 코로나19
- 맥북
- 프로그래머스
- Baekjoon
- ChatGPT
- gs25
- 금융문자분석경진대회
- 파이썬
- PYTHON
- 백준
- 데이콘
- 캐치카페
- 프로그래머스 파이썬
- Git
- leetcode
- Kaggle
- AI 경진대회
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
반응형