Saltar al contenido principal

4 documentos etiquetados con "bit-manipulation"

Ver Todas las Etiquetas

Hamming Distance

This question is asked by Facebook. Given two integers x and y, return the hamming distance between the two numbers.

Missing Number

This question is asked by Amazon. Given an array that contains all distinct values from zero through N except one number, return the number that is missing from the array.