2011年9月1日 星期四

Algorithms-simple binary search

first,you need sort

then you could search the 'numeber'

variable t show the recursive times

code:

沒有留言:

張貼留言