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
- 캐치카페
- Baekjoon
- leetcode
- Kaggle
- SW Expert Academy
- 프로그래머스
- github
- 백준
- gs25
- 우분투
- hackerrank
- 더현대서울 맛집
- 편스토랑
- ChatGPT
- 프로그래머스 파이썬
- 자연어처리
- 코로나19
- 맥북
- PYTHON
- Docker
- 파이썬
- 데이콘
- Real or Not? NLP with Disaster Tweets
- 편스토랑 우승상품
- dacon
- 금융문자분석경진대회
- AI 경진대회
- ubuntu
- Git
- programmers
Archives
- Today
- Total
목록
반응형
Three Consecutive Odds (1)
반응형
솜씨좋은장씨
[leetCode] 1550. Three Consecutive Odds (Python)
Given an integer array arr, return true if there are three consecutive odd numbers in the array. Otherwise, return false. Example 1: Input: arr = [2,6,4,1] Output: false Explanation: There are no three consecutive odds. Example 2: Input: arr = [1,2,34,3,4,5,7,23,12] Output: true Explanation: [5,7,23] are three consecutive odds. Constraints: 1
Programming/코딩 1일 1문제
2020. 9. 15. 00:30
반응형