Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 생활코딩
- Javascript
- Grading Students
- Time Conversion
- Data Structure
- Birthday Chocolate
- Apple and Orange
- alogrithim
- #nodejs#express
- git
- javascirpt
- Ellectronics Shop
- Between Two Sets
- 알고리즘
- Sock Merchant
- #nodejs#노드js
- A Very Big Sum
- 짝수와 홀수
- 노드
- Migratory Birds
- Algorithm
- nodejs
- Drawing Book
- Divisible Sum Pairs
- 자료구조
- 자바스크립트
- 프로그래머스
- Breaking the Records
- hackerrank
- algorithim
Archives
- Today
- Total
ian의 개발일기장
[level1] 가운데 글자 가져오기 본문
단어 s의 길이와 인덱스의 관계를 생각해서 풀었다.
1. 나의 풀이
2. 다른사람 풀이
3. 결론
삼항 연산자에 좀더 익숙해져야 할것 같다.
4. 정리
삼항 연산자(Conditional (ternary) Operator)
condition이 true 이면 expr1 이고, false이면 expr2 이다.
'Algorithms > Programmers' 카테고리의 다른 글
[level1] 자릿수 더하기 (0) | 2018.08.30 |
---|---|
[level1] 정수 제곱근 판별 (0) | 2018.08.30 |
[level1] 평균구하기 (0) | 2018.08.29 |
[level1] 두 정수 사이의 합 (0) | 2018.08.29 |
[level1] 나누어 떨어지는 숫자 배열 (0) | 2018.08.28 |