Lonpeach Tech

게임 개발 이슈 정리

[Codewars #29] +1 Array (6kyu)

[Codewars #29] +1 Array (6kyu) 문제 풀이

Instructions Given an array of integers of any length, return an array that has 1 added to the value represented by the array. the array can’t be empty only non-negative, single digit intege...

[Codewars #28] Write Number in Expanded Form (6kyu)

[Codewars #28] Write Number in Expanded Form (6kyu) 문제 풀이

Instructions Write Number in Expanded Form You will be given a number and you will need to return it as a string in Expanded Form. For example: 1 2 3 Kata.ExpandedForm(12); # Should return "10 + ...

[Codewars #27] Word a10n (abbreviation) (6kyu)

[Codewars #27] Word a10n (abbreviation) (6kyu) 문제 풀이

Instructions The word i18n is a common abbreviation of internationalization in the developer community, used instead of typing the whole word and trying to spell it correctly. Similarly, a11y is a...

한마디로 닷컴 - PART 1. 주어 만들기

한마디로 닷컴 - PART 1. 주어 만들기

한마디로 닷컴 내용 정리 INTRODUCTION 주어 만들기 서론 1 문장의 구조 주어 + 동사 + 목적어 + 보어 + 부사 She bought a car (보어 X) yesterday He is (목적어 X) ateacher now Tom makes her angry all the time (5형...

[Codewars #26] extract file name (6kyu)

[Codewars #26] extract file name (6kyu) 문제 풀이

Instructions You have to extract a portion of the file name as follows: Assume it will start with date represented as long number Followed by an underscore Youll have then a filename with ...

[Codewars #25] Data Reverse (6kyu)

[Codewars #25] Data Reverse (6kyu) 문제 풀이

Instructions Instructions A stream of data is received and needs to be reversed. Each segment is 8 bits long, meaning the order of these segments needs to be reversed, for example: 1 2 11111111 ...

[Codewars #24] Alphabet war - airstrike - letters massacre (6kyu)

[Codewars #24] Alphabet war - airstrike - letters massacre (6kyu) 문제 풀이

Instructions There is a war and nobody knows - the alphabet war! There are two groups of hostile letters. The tension between left side letters and right side letters was too high and the war bega...

[Codewars #23] Sum The Tree (6kyu)

[Codewars #23] Sum The Tree (6kyu) 문제 풀이

Instructions Given a node object representing a binary tree: 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 Node: value: <int>, left: <Node> o...

[Codewars #22] longest_palindrome (6kyu)

[Codewars #22] longest_palindrome (6kyu) 문제 풀이

Instructions Longest Palindrome Find the length of the longest substring in the given string s that is the same in reverse. As an example, if the input was “I like racecars that go fast”, the su...

[Codewars #21] Parse HTML/CSS Colors (6kyu)

[Codewars #21] Parse HTML/CSS Colors (6kyu) 문제 풀이

Instructions In this kata you parse RGB colors represented by strings. The formats are primarily used in HTML and CSS. Your task is to implement a function which takes a color as a string and retu...