Re: [algogeeks] Paypal Interview questions

2011-09-22 Thread Sahil Garg
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

Re: [algogeeks] Paypal interview Questions

2011-08-06 Thread Amol Sharma
@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

Re: [algogeeks] Paypal interview Questions

2011-08-06 Thread programming love
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

Re: [algogeeks] Paypal interview Questions

2011-08-06 Thread hary rathor
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

Re: [algogeeks] Paypal interview Questions

2011-08-06 Thread programming love
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

Re: [algogeeks] Paypal interview Questions

2011-08-06 Thread hary rathor
@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

Re: [algogeeks] Paypal interview Questions

2011-08-06 Thread coder dumca
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

Re: [algogeeks] Paypal interview Questions

2011-08-06 Thread siddharth srivastava
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 >

Re: [algogeeks] Paypal interview Questions

2011-08-06 Thread Raghavan
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(

[algogeeks] Paypal interview Questions

2011-08-05 Thread swetha rahul
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

[algogeeks] Paypal Interview questions

2011-08-03 Thread Deepak
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