Lonpeach Tech

게임 개발 이슈 정리

[Codewars #49] Take a Ten Minute Walk (6kyu)

[Codewars #49] Take a Ten Minute Walk (6kyu) 문제 풀이

Instructions 링크 You live in the city of Cartesia where all roads are laid out in a perfect grid. You arrived ten minutes too early to an appointment, so you decided to take the opportunity to go ...

[Codewars #48] Grasshopper - Summation (8kyu)

[Codewars #48] Grasshopper - Summation (8kyu) 문제 풀이

Instructions 링크 Write a program that finds the summation of every number from 1 to num. The number will always be a positive integer greater than 0. For example: 1 2 3 4 5 summation(2) -> 3 1...

[Codewars #47] Alphabet war - Wo lo loooooo priests join the war (5kyu)

[Codewars #47] Alphabet war - Wo lo loooooo priests join the war (5kyu) 문제 풀이

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 ...

[Codewars #46] Mixbonacci (5kyu)

[Codewars #46] Mixbonacci (5kyu) 문제 풀이

Instructions 링크 This is the first of my “-nacci” series. If you like this kata, check out the zozonacci sequence too. Task Mix -nacci sequences using a given pattern p. Return the first n e...

[Codewars #45] Loading Kata: Rot13 (5kyu)

[Codewars #45] Loading Kata: Rot13 (5kyu) 문제 풀이

Instructions 링크 ROT13 is a simple letter substitution cipher that replaces a letter with the letter 13 letters after it in the alphabet. ROT13 is an example of the Caesar cipher. Create a functi...

[Codewars #44] Domain name validator (5kyu)

[Codewars #44] Domain name validator (5kyu) 문제 풀이

Instructions 링크 In this kata you have to create a domain name validator mostly compliant with RFC 1035, RFC 1123, and RFC 2181 For purposes of this kata, following rules apply: Domain name m...

[Codewars #43] Integer triangles (5kyu)

[Codewars #43] Integer triangles (5kyu) 문제 풀이

Instructions 링크 You have to give the number of different integer triangles with one angle of 120 degrees which perimeters are under or equal a certain value. Each side of an integer triangle is a...

[Codewars #42] N00bify - English to n00b Translator (5kyu)

[Codewars #42] N00bify - English to n00b Translator (5kyu) 문제 풀이

Instructions 링크 The internet is a very confounding place for some adults. Tom has just joined an online forum and is trying to fit in with all the teens and tweens. It seems like they’re speaking...

[Codewars #41] Alphabet wars - nuclear strike (5kyu)

[Codewars #41] Alphabet wars - nuclear strike (5kyu) 문제 풀이

Instructions 링크 Introduction There is a war and nobody knows - the alphabet war! The letters hide in their nuclear shelters. The nuclear strikes hit the battlefield and killed a lot of them. Ta...

[Codewars #40] Best travel (5kyu)

[Codewars #40] Best travel (5kyu) 문제 풀이

Instructions 링크 John and Mary want to travel between a few towns A, B, C … Mary has on a sheet of paper a list of distances between these towns. ls = [50, 55, 57, 58, 60]. John is tired of drivin...