Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re^2: Binary search

by akvats01 (Initiate)
on Mar 29, 2013 at 17:04 UTC ( #1026173=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @num_list1=(34,2,65,345,987,23,12,45,62,100);
    @num_list= sort {a <=> b} @num_list1;
    
  2. or download this
    #!/usr/bin/perl
    
    ...
        print " The key is $index\n";
    }
    else {print "key is not found";}
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1026173]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (7)
As of 2014-04-18 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (460 votes), past polls