sorry I made a mistake, ur algorithm is not bad comparing to

回答: about max and min in an arraysub1012008-02-13 07:15:12

quick sort. I forgot the quick sort complexity.

所有跟帖: 

sort >= O(nlogn) -Jamesxu- 给 Jamesxu 发送悄悄话 (0 bytes) () 02/13/2008 postreply 08:28:12

yes, right. long time did not pick up algorithms book coz -yellowlemon- 给 yellowlemon 发送悄悄话 (91 bytes) () 02/13/2008 postreply 08:30:24

请您先登陆,再发跟帖!