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

Re^3: Find the missing number

by AnomalousMonk (Archbishop)
on Apr 04, 2017 at 23:06 UTC ( [id://1187049]=note: print w/replies, xml ) Need Help??


in reply to Re^2: Find the missing number
in thread Better way of writing "find the missing number(s)"

... a mathematical solution hiding in plain sight.

Perhaps better to say "hiding in obscurity." From the OP (emphasis added):

... find a missing number if in a list of numbers. ...

...
my @arr = (19,17,22,23,24,15,16,25..35);
...

But the list in the code example clearly has more than one missing number. See also the (current) thread title. I think the goose chase, although wild, was justified.


Give a man a fish:  <%-{-{-{-<

Replies are listed 'Best First'.
Re^4: Find the missing number
by prysmatik (Sexton) on Apr 05, 2017 at 12:05 UTC

    Ahh, I stand corrected. It's funny how user requirements can hinge and swing wildly from a small misunderstanding.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (3)
As of 2024-04-25 06:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found