Some example solutions while browsing leetcode
singleNumber.js Given an array of integers, every element appears twice except for one. Find that single one.
hammingDistance.js The Hamming distance between two integers is the number of positions at which the corresponding bits are different. Given two integers x and y, calculate the Hamming distance.
duplicates.js Find all the duplicates in an array