Think about Loose Coupling | |
PerlMonks |
Re: Find out missing floating value in an arrayby Punitha (Priest) |
on Dec 26, 2007 at 07:20 UTC ( [id://659012]=note: print w/replies, xml ) | Need Help?? |
Hi I think your array contains the element from 1 to 20 with the preceeding of "1." You can find the missing element by generating the dummy array having all the elements with the increment value and the last element value, to compare with the original input array. Like
Punitha
In Section
Seekers of Perl Wisdom
|
|