@Mohit: I still did not get it.

Suppose m = 4

And the integers are 5 3 2 7 1 2 ...

How do you proceed? Here the answer is (3,1) & (2,2).

On Mon, Oct 25, 2010 at 7:04 AM, MOHIT .... <mohit...@gmail.com> wrote:

> @preethika :  .. mohan is right .. better to do it while inserting because
> may be u can get answer without hashing all element in between ....
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algoge...@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/algogeeks?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to