in reply to Can any one help me with my query

I would say step one is to define your "difference" algorithm more clearly (in english rather than code is ok) rather than trying to give example data on its own.

Replies are listed 'Best First'.
Re^2: Can any one help me with my query
by Anonymous Monk on Jun 21, 2005 at 12:48 UTC
    Thanks very much for replying. I have sorted my problem by just making i=0 where next has been used. I am very much happy at least you replied.