Introduction
It is an easy level math algorithm. I chose to write a binary search algorithm. And I submitted first five times but failed to pass online judge, I came cross integer overflow problem as well. It was a very good practice.
My practice
Here is my discuss link I shared on Leetcode.com. The code passes online judge.
No comments:
Post a Comment