For example, given 1 8 4 9 0 2 , return 3. Thanks.
views:
98answers:
1Thanks, but I can't read the presumabley APL font. Can you post it in psuedo code?
2009-09-08 15:59:08
first(iota 1 plus shape arg)without arg
2009-09-08 16:01:12
Thanks! That's genious. No matter what the magnitude of the given integers are, the answer must be less than 1 plus the count. Very nice.
2009-09-08 16:09:19