일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- join()
- python
- Bookmark
- 장고 프로젝트
- 장고 개발 순서
- mongodb
- 자바스크립트
- 프로젝트
- Node.js
- 개발
- 북마크만들기
- 북마크앱
- 파이썬 웹프로그래밍 장고
- 장고 프로젝트 순서
- MyPick31
- passport.js
- JavaScript
- til
- Algorithm
- 독립영화플랫폼
- Django Blog
- Django
- ART_Cinema
- 예술영화추천
- Blog
- MYSQL
- 알고리즘
- Exercism
- 타사인증
- 장고
- Today
- Total
목록CodingTest (57)
Juni_Dev_log
▶Reverse String (Problem) Introduction Reverse a string For example: input: "cool" output: "looc" - 주어진 문자열을 거꾸로 출력하도록 해보자. (Tip) - split() 으로 주어진 문자열을 쪼개서 배열로 만든다. - 배열에서 요소들을 거꾸로 만들 수 있는 reverse()를 이용한다. - 거꾸로 만든 배열을 다시 붙인다. join() 을 이용한다. (Solution) 1 2 3 4 5 export const reverseString = (string) => { var reverse_string = string.split('').reverse().join(''); return reverse_string; }; Colored ..
▶ Leap (Problem) Introduction Given a year, report if it is a leap year. The tricky thing here is that a leap year in the Gregorian calendar occurs: on every year that is evenly divisible by 4 except every year that is evenly divisible by 100 unless the year is also evenly divisible by 400 For example, 1997 is not a leap year, but 1996 is. 1900 is not a leap year, but 2000 is. 윤년을 계산해보는 코드를 작성해보..
▶ Matrix (Problem) Introduction Given a string representing a matrix of numbers, return the rows and columns of that matrix. So given a string with embedded newlines like: 9 8 7 5 3 2 6 6 7 representing this matrix: 1 2 3 |--------- 1 | 9 8 7 2 | 5 3 2 3 | 6 6 7 your code should be able to spit out: A list of the rows, reading each row left-to-right while moving top-to-bottom across the rows, A ..
▶ Bank Account (Problem) Introduction Simulate a bank account supporting opening/closing, withdrawals, and deposits of money. Watch out for concurrent transactions! A bank account can be accessed in multiple ways. Clients can make deposits and withdrawals using the internet, mobile phones, etc. Shops can charge against the account. Create an account that can be accessed from multiple threads/pro..