longest consecutive sequence

use hash table