정수를 2진수로 변환했을때 가장 긴 0의 연속길이를 찾는 알고리즘.
#문제양수 N을 이진법으로 바꿨을 때, 연속으로 이어지는 0 중에서 가장 큰 값을…
내머리가 돌대가리라는걸 이 알고리즘 풀면서 느꼈다.. 피보나치의 수열 동적프로그래밍을 다시한번 보고 왔음에도 헷갈렸다.. 일주일뒤에 재도전하고 그때 문제풀이를 다시 작성해야겠다.
#문제