Place each node at hash(node) on a circular ring (mod 2^32). Each keymaps to the first node clockwise from hash(key).
hash(node)
hash(key)
Use FNV-1a 32-bit. solve(nodes, keys) returns array of assigned node names.
solve(nodes, keys)
Sample tests