gray code (1) 썸네일형 리스트형 LeetCode: 89번 (Gray Code) [JAVA] 문제 링크 https://leetcode.com/problems/gray-code/ Gray Code - LeetCode Can you solve this real interview question? Gray Code - An n-bit gray code sequence is a sequence of 2n integers where: * Every integer is in the inclusive range [0, 2n - 1], * The first integer is 0, * An integer appears no more than once in the sequence, leetcode.com 풀이 전체적인 풀이 과정은 다음과 같다. 결과를 담을 List 생성 후, 초기값 0 추가 주어진 n번에 대해.. 이전 1 다음