Click here to Skip to main content
15,923,557 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Division Algorithm Pin
Are Jay22-Nov-06 3:34
Are Jay22-Nov-06 3:34 
GeneralRe: Division Algorithm Pin
Are Jay24-Nov-06 21:28
Are Jay24-Nov-06 21:28 
AnswerRe: Division Algorithm Pin
djlove24-Nov-06 7:21
djlove24-Nov-06 7:21 
AnswerRe: Division Algorithm Pin
Dan21786-Dec-06 19:01
Dan21786-Dec-06 19:01 
Questionhelp me with binary search Pin
MaSTaMaRViN12-Nov-06 23:09
MaSTaMaRViN12-Nov-06 23:09 
AnswerRe: help me with binary search Pin
Tim Craig13-Nov-06 19:50
Tim Craig13-Nov-06 19:50 
AnswerRe: help me with binary search Pin
David Crow5-Dec-06 5:36
David Crow5-Dec-06 5:36 
GeneralRe: help me with binary search Pin
ricecake6-Dec-06 3:53
ricecake6-Dec-06 3:53 
What you say is true at a high level, however searching for a name in the phone book is really more like interpolation search[^]. For example, if you know the name starts with 'B', then you can start much closer to the beginning than the halfway point. However, as the article states, the extra computation needed to find where to look often makes interpolation search not faster than binary search.

--
Marcus Kwok

GeneralWell and truly sorted Pin
intrepid_is12-Nov-06 5:58
intrepid_is12-Nov-06 5:58 
GeneralRe: Well and truly sorted Pin
peterchen12-Nov-06 8:14
peterchen12-Nov-06 8:14 
GeneralRe: Well and truly sorted Pin
intrepid_is12-Nov-06 11:43
intrepid_is12-Nov-06 11:43 
QuestionRe: Well and truly sorted Pin
David Crow5-Dec-06 5:37
David Crow5-Dec-06 5:37 
AnswerRe: Well and truly sorted Pin
peterchen5-Dec-06 17:01
peterchen5-Dec-06 17:01 
QuestionSetFileTime Pin
toeh11-Nov-06 23:09
toeh11-Nov-06 23:09 
AnswerRe: SetFileTime Pin
coolestCoder12-Nov-06 0:16
coolestCoder12-Nov-06 0:16 
Questionvb6 algorithm Pin
irwansmadaxip110-Nov-06 11:57
irwansmadaxip110-Nov-06 11:57 
AnswerRe: vb6 algorithm Pin
Tim Craig10-Nov-06 17:16
Tim Craig10-Nov-06 17:16 
GeneralRe: vb6 algorithm Pin
Paul Conrad14-Nov-06 3:57
professionalPaul Conrad14-Nov-06 3:57 
GeneralRe: vb6 algorithm Pin
Tim Craig14-Nov-06 19:00
Tim Craig14-Nov-06 19:00 
GeneralRe: vb6 algorithm Pin
ChandraRam15-Nov-06 0:39
ChandraRam15-Nov-06 0:39 
GeneralRe: vb6 algorithm Pin
Paul Conrad15-Nov-06 12:41
professionalPaul Conrad15-Nov-06 12:41 
GeneralRe: vb6 algorithm Pin
ChandraRam15-Nov-06 20:17
ChandraRam15-Nov-06 20:17 
GeneralRe: vb6 algorithm Pin
Paul Conrad15-Nov-06 12:43
professionalPaul Conrad15-Nov-06 12:43 
GeneralRe: vb6 algorithm Pin
ejuanpp15-Nov-06 23:23
ejuanpp15-Nov-06 23:23 
GeneralRe: vb6 algorithm Pin
Lebanese21-Nov-06 2:41
Lebanese21-Nov-06 2:41 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.