일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- codewars
- GlobalInterprintLock
- conf
- pep8
- restfulapi
- typevar
- printer_helper
- codewar
- goalng
- 코로나백신
- python
- Algorithm
- vscode
- 오큘러스퀘스트2
- flake8
- 규칙없음
- maxlinelength
- springboot
- httppretty
- loadimpact
- 조엘온소프트웨어
- organizeImports
- 독후감
- ProxyServer
- 유닉스의탄생
- Lint
- 글쓰기가필요하지않은인생은없다
- pyenv
- opensouce
- Golang
- Today
- Total
목록전체 글 (67)
일상적 이야기들.
문제 - https://www.codewars.com/kata/57eae20f5500ad98e50002c5 불러오는 중입니다... 문제풀이 - 주어진 문자열에서 공백을 지우는 문제입니다. - 문자열에서 문자를 하나씩 가져와서, '공백'이 아니라면, 새로운 문자열 변수에다가 덧붙혀가면 됩니다. - 쉽게는, Java에서 제공되는 replcae 함수를 사용하면 됩니다. - https://docs.oracle.com/javase/9/docs/api/java/lang/String.html#replace-char-char- - String replace(char oldChar, char newChar) : Returns a string resulting from replacing all occurences of o..
문제: - https://www.codewars.com/kata/alphabet-war Codewars: Train your coding skills Codewars is where developers achieve code mastery through challenge. Train on kata in the dojo and reach your highest potential. www.codewars.com 문제풀이: - 소스는 Java로 작성되었습니다. - 각 문자는, 점수와 진영이 나눠져있습니다. - Left 진영: s, b, p, w - Right 진영: z, d, q, m - 중립 : 그 외의 문자 - 그리고, 진영의 문자들은 점수가 존재합니다. - 이 점수들을, 배열의 index로 구성을 하였습..
문제 - https://www.codewars.com/kata/5839edaa6754d6fec10000a2 Codewars: Train your coding skills Codewars is where developers achieve code mastery through challenge. Train on kata in the dojo and reach your highest potential. www.codewars.com 문제 풀이: - 언어는 Java로 풀었습니다. - 배열에는 순차적으로 알파벳이 들어온다. 그러나 중간에 빠진 문자열이 존재한다. -- 배열의 시작을 0생각을 하면, "0, 1, 2, 4, 5"로 변경해서 생각할 수 있고, 빠진 숫자는 "3" 이라는 것을 알 수 있다. - Char에..