longest prefix
closet sum 3