hey.. plz post your experience??
Sahil Garg
Computer Engg. DCE
On Wed, Aug 3, 2011 at 11:54 PM, Deepak wrote:
> Can anyone pls post Paypal written questions and important subjects or
> topics to prepare for written as well as for tech interview?? Thanks
> in advance...
>
> --
> You received th
@raghvan: take care of space complexityyou are using extra space that
too O(n) in worst case...
can be done in O(nlogn)
else it can be done in O(n) if the given array is sorted in two traversals
!!
--
Amol Sharma
Third Year Student
Computer Science and Engineering
MNNIT Allahabad
On Sun
So is q 1 a C++ question??
On Sun, Aug 7, 2011 at 11:27 AM, hary rathor wrote:
> no c doesn't
>
> --
> 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 th
no c doesn't
--
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...@googlegroups.com.
For more options, visit this
Does C support default arguments in function prototype??
--
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...@goo
@delip ; have you not got that it require single strict O(n) just single
pass you are doing it in O(n^2)
--
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
default arguments are added right to left , in first one it is left to
right thats why error
On Sat, Aug 6, 2011 at 9:41 AM, siddharth srivastava wrote:
> Hi
>
> On 6 August 2011 12:08, swetha rahul wrote:
>
>> Hi,
>>
>> Q.No:1
>> what is wrong here
>> void foo(int x=10,int y)
>> how compile
Hi
On 6 August 2011 12:08, swetha rahul wrote:
> Hi,
>
> Q.No:1
> what is wrong here
> void foo(int x=10,int y)
> how compiler will treat it??
compiler error
to get it working y should also have a default value.
>
> and what happen here
> void foo(int x=10,int y=20)
>
>
will work fine
>
q2:
Maintain a map it would solve the issue.
On Sat, Aug 6, 2011 at 12:28 PM, dilip makwana wrote:
> FOR Q2>
>
> int i, j;
>
>
>
> /* new length of modified array */
>
>
> int NewLength = 1;
>
>
>
> for(i=1; i< Length; i++){
>
>
>
>for(j=0; j< NewLength ; j++)
>
>
>
>{
>
>
>
> if(
Hi,
Q.No:1
what is wrong here
void foo(int x=10,int y)
how compiler will treat it??
and what happen here
void foo(int x=10,int y=20)
Q.No:2
How to remove duplicate elements from an array in just one pass.. Take care
of time and space complexity..
--
You received this message because you are su
Can anyone pls post Paypal written questions and important subjects or
topics to prepare for written as well as for tech interview?? Thanks
in advance...
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to alg
11 matches
Mail list logo