Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Binary search

by moritz (Cardinal)
on Mar 29, 2013 at 15:05 UTC ( #1026160=note: print w/replies, xml ) Need Help??


in reply to Binary search

A binary search only works in a sorted list, but your @num_list isn't sorted.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026160]
help
Chatterbox?
and the rats come out to play...

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (7)
As of 2017-07-26 09:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (387 votes). Check out past polls.