1. Given a array,find a first unique integer.
2. Integers are coming as online stream,have to find a kth unique integer 
till now.

For 1.

Even we cannot use sorting for solving this as if we sort it than our first 
number which is non-repetitive changes.

The best I am able to do is nlogn using a space of O( n ).

For 2. No idea

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to