user-thumbnail
@gimoeni
2년차 프론트엔드 개발자
SERIES

알고리즘 공부

Codility - BinaryGap / JavaScript 문제 해석 및 풀이

2019년 10월 16일

BinaryGap Find longest sequence of zeros in binary representation of an integer. 정수를 2진수로 변환했을 때 가장 긴 0의 연속 길이 찾기 A binary gap within a positive integer N is any maximal sequence of consecutive zero...

Codility - OddOccurrencesInArray / 문제 해석 및 풀이

2019년 10월 17일

OddOccurrencesInArray Find value that occurs in odd number of elements. A non-empty array A consisting of N integers is given. The array contains an odd number of elements, and each element of the a...

Codility - CyclicRotation / 문제 해석 및 풀이

2019년 10월 17일

An array A consisting of N integers is given. Rotation of the array means that each element is shifted right by one index, and the last element of the array is moved to the first place. For example, t...

Codility - FrogJmp / JavaScript 문제 해석 및 풀이

2019년 10월 18일

A small frog wants to get to the other side of the road. The frog is currently located at position X and wants to get to a position greater than or equal to Y. The small frog always jumps a fixed dist...

PermMissingElem

2019년 10월 18일

PermMissingElem Find the missing element in a given permutation. An array A consisting of N different integers is given. The array contains integers in the range [1..(N + 1)], which means that exactl...

Brackets

2019년 10월 21일

Brackets Determine whether a given string of parentheses (multiple types) is properly nested. A string S consisting of N characters is considered to be properly nested if any of the following conditi...