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

Re: help with an array of arrays

by Paladin (Vicar)
on Sep 14, 2018 at 23:19 UTC ( #1222402=note: print w/replies, xml ) Need Help??


in reply to help with an array of arrays

Remove the inner loop. Since you already know the max number, you only need to loop through the outer array once, looking for ones that match the max number.

Replies are listed 'Best First'.
Re^2: help with an array of arrays
by Anonymous Monk on Sep 14, 2018 at 23:22 UTC
    Ah, good catch, thanks!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (6)
As of 2019-10-15 03:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Notices?