MCPcopy Create free account
hub / github.com/Ayush7614/Daily-Coding-DS-ALGO-Practice / main

Method main

Leetcode/Java/Hamming.java:17–23  ·  view source on GitHub ↗
(String[] args)

Source from the content-addressed store, hash-verified

15 return setBits;
16}
17public static void main(String[] args)
18{
19 Scanner sc = new Scanner(System.in);
20 int x = sc.nextInt();
21 int y = sc.nextInt();
22 System.out.println(hammingDistance(x, y));
23}
24}
25

Callers

nothing calls this directly

Calls 1

hammingDistanceMethod · 0.95

Tested by

no test coverage detected