Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 romping around the Monastery: (11)
As of 2015-08-31 22:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The oldest computer book still on my shelves (or on my digital media) is ...













    Results (365 votes), past polls