Hamming Distance

The Hamming distance between two integers is the number of positions at which their binary representations differ. Given two integers x and y, compute and return the Hamming distance between them.

Examples
Input: [1,4]
Output: 2
Hints

Hamming Distance

The Hamming distance between two integers is the number of positions at which their binary representations differ. Given two integers x and y, compute and return the Hamming distance between them.