Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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?
LanX God shaves the Queen!
[marto]: plastering
LanX citing Sean Connery

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (8)
As of 2018-02-19 10:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    When it is dark outside I am happiest to see ...














    Results (261 votes). Check out past polls.

    Notices?