Friday, August 19, 2016

Leetcode 278 - binary search algorithm and discussion

August 19, 2016

Leetcode 278 - binary search algorithm and discussion

1. http://blog.csdn.net/ebowtang/article/details/50735869

A. Good discussion on the deadloop prevention - make sure that +1 or -1 somewhere
B. discussion of ?

Good discussion of tips:
1. base case
2. overflow issue
http://www.cnblogs.com/airwindow/p/4791234.html

No comments:

Post a Comment