일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- organizeImports
- goalng
- Algorithm
- Lint
- springboot
- Golang
- 규칙없음
- opensouce
- 유닉스의탄생
- vscode
- 오큘러스퀘스트2
- codewars
- 코로나백신
- loadimpact
- pep8
- ProxyServer
- httppretty
- maxlinelength
- python
- 글쓰기가필요하지않은인생은없다
- GlobalInterprintLock
- flake8
- restfulapi
- codewar
- 독후감
- 조엘온소프트웨어
- pyenv
- printer_helper
- typevar
- conf
- Today
- Total
목록Algorithm (14)
일상적 이야기들.
문제 - https://www.codewars.com/kata/56ed20a2c4e5d69155000301 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 문제풀이 - 문자열 strng는 "\n" 로 구분이 됩니다. - 한 단어를 반복해야하는 k와, \n 단위로 반복해야하는 v가 입력됩니다. -> strng : "abc\nbcd", k: 2, v: 2 -> abc 와 bcd 로 분리 -> k에 따라, aabbcc (각 문자를 k번 반..
문제: - 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에..
문제 - https://www.codewars.com/kata/beginner-lost-without-a-map 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 문제 설명: - Parameter로 Int형 Array가 전달되며, Return형으로 "전달 받은 Array" 요소 값마다 *2 를 해서 Int형 Array를 전달 해줘야함. 문제풀이: - 언어는 자바로 사용하였습니다. - 문제의 핵심은, "배열의 크기만큼 순회를 할 수 있는..