Wednesday, September 6, 2017

Binary search

Sept. 6, 2017

Introduction


It is so interesting to write a binary search algorithm. First 5 writing I found out the issue every time, edge cases like middle value expression to avoid overflow, less and equal case. This time I found out a new issue, verbose code. How can I solve the issue?


Algorithm practice


C# practice is here.

No comments:

Post a Comment