update 2sum with hashmap, 3color sort, sqrt with binary search