IT/코딜리티(codility)
[codility] 1. BinaryGap
아라니나노
2019. 5. 22. 23:44
반응형
https://app.codility.com/demo/results/trainingZ55NFR-TDD/
Test results - Codility
A binary gap within a positive integer N is any maximal sequence of consecutive zeros that is surrounded by ones at both ends in the binary representation of N. For example, number 9 has binary representation 1001 and contains a binary gap of length 2. The
app.codility.com
어찌 어찌 100%로 통과 하긴 했는데.....
이지난이도도 이렇게 시간 오래 걸려서 풀게 되다니....
정규식, 자바Utils 등 여러가지를 활용 할 수 있어야 된다.
반응형