Solve Search Insert Position