restart.'s blog

By restart., history, 9 years ago, In English

this problem could be solved by quadratic roots. takes o(1). By i want to solve this using binary search. But i can't implement the logic in code correctly. please help. TIA...

  • Vote: I like it
  • 0
  • Vote: I do not like it