update binary search sol
answer to findMin with dup items