Gray code: Difference between revisions

Content added Content deleted
m (Test results were overflowing the length of a line.)
m (Corrected error in class name.)
Line 3,154:
import java.math.BigInteger;
 
public class GrayGrayCode {
public static long grayEncode(long n){