Beefy Boxes and Bandwidth Generously Provided by pair Networks chromatic writing perl on a camel
Perl Monk, Perl Meditation
 
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.


Comment on Re: Binary search
Download Code

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 web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (11)
As of 2014-04-18 11:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (466 votes), past polls