Skip to content

Instantly share code, notes, and snippets.

@VojtaStavik
Last active April 5, 2017 19:13
Show Gist options
  • Save VojtaStavik/ea9e1c2c33cc2aaa5bc5b81b5db981a0 to your computer and use it in GitHub Desktop.
Save VojtaStavik/ea9e1c2c33cc2aaa5bc5b81b5db981a0 to your computer and use it in GitHub Desktop.
func calculateHammingDistance(x: Int, y: Int) -> Int {
// Step 1: Find different bits
// Step 2: Count them
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment