Re: searching for missing element in an array



Richard Heathfield <rjh@xxxxxxxxxxxxxxx> writes:
<snip>
The most
obvious reading is isomorphic to having n ping-pong balls labelled 1
through n, and n-1 buckets, and you put exactly one of your n ping-pong
balls into each bucket - the puzzle is to work out, as fast as possible,
which ball you have left over, without looking at it directly.

Or, indeed, the n balls can be in *one* bucket from which a ball is
removed. The n-1 buckets, the array and it's implied order are just
distractions.

--
Ben.
.



Relevant Pages

  • Re: Indian up 2-1
    ... Dano venit, vidit, et dixit: ... and expanded hugely with 3 balls. ... impressions. ...
    (alt.sports.baseball.bos-redsox)
  • Re: An uncountable countable set
    ... -1/n, where n is a natural number, there are balls in the vase. ... Let S be the set of naturals on balls removed before noon. ...
    (sci.math)
  • Re: Vladiks Russian Balls
    ... I was considering to order some of Vladik's balls. ... shadow link says they are 70 mm. ... Well 3 inches is roughly 76mm. ...
    (rec.juggling)
  • Re: Red, White (and Blue???) Diesel
    ... this in lg2d5399p2bkp5e8t6252fa7fqipc20ks2@xxxxxxx, I, Marvo, say: ... don't think it's a real word or, if it is, it's like methodology in ... About time someone other than me actually had the balls to express ...
    (uk.rec.waterways)
  • Re: Pix of my VTX1800C
    ... Mille are a big deal. ... I've known guys with a LOT more money than you. ... you like to talk about everyone else "balls" too.. ...
    (rec.motorcycles)