> the
>>>>> >> >> >>>>> >> Google
>>>>> >> >> >>>>> Groups
>>>>> >> >> >>>>> >> "Algorithm Geeks" group.
>>>>> >> >> &g
{ swap(a[i], a[j]);
permute(a, i+1, n);
swap([ai], a[j]);
}
}
}
-
On Wed, Mar 12, 2014 at 11:59 AM, navneet singh gaur
wrote:
> void permute(char *a, int i, int n)
> {
>int j;
>if (i == n)
> printf("%
gt; aba
>>> baa
>>>
>>>
>>> -Thanks,
>>> Bujji
>>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To unsubscribe from this group and stop receiving
>>
>>
>> --
>> 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 algogeeks+unsubscr...@googlegroups.com.
&
2 5 3 1 4 6 1
>
> Now you can see the unique number with lowest index is 3(index=1). So , you
> have your answer.
>
>
> On Mon, Feb 4, 2013 at 3:45 PM, navneet singh gaur
> wrote:
>>
>> 1. Given a array,find a first unique integer.
>> 2. Integers are comi
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
;Algorithm Geeks" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to algogeeks+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>
--
navneet singh gaur
--
You received this me
Hi,
Does anyone know how to find K-shortest path and K disjoint shortest
path...
--
navneet singh gaur
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To u
; > $iva
>
> --
> You received this message because you are subscribed to the Google Groups
> "Algorithm Geeks" group.
> To post to this group, send email to algogeeks@googlegroups.com.
> To unsubscribe from this group, send email to
> algogeeks+unsubscr...@goog