Re: [algogeeks] Re: citrix rd????

2011-08-14 Thread sagar pareek
no c only C++ questions mainly were to get the o/p of program On Sun, Aug 14, 2011 at 1:30 PM, htross htb...@gmail.com wrote: was the aptitude on c or c++???i mean did the aptitude contain questions on classes and objects??? On Aug 14, 2:00 am, sagar pareek sagarpar...@gmail.com wrote

Re: [algogeeks] Re: citrix rd????

2011-08-14 Thread sagar pareek
14, 2:00 am, sagar pareek sagarpar...@gmail.com wrote: sorry it is 3 hand written codes in 1 hour On Sun, Aug 14, 2011 at 2:29 AM, sagar pareek sagarpar...@gmail.com wrote: First they have writtwen (45 quwestions in 60 mins) Major (70-80% + ) on C++ .. simple... no need

Re: [algogeeks] Doubt !!!!!!

2011-08-14 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD

Re: [algogeeks] array question

2011-08-14 Thread sagar pareek
SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks]

2011-08-13 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR

Re: [algogeeks] os

2011-08-13 Thread sagar pareek
/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks]

2011-08-13 Thread sagar pareek
Sorry 4 above post i thought it a diff ques On Sun, Aug 14, 2011 at 1:33 AM, sagar pareek sagarpar...@gmail.com wrote: its n/2+1 On Sat, Aug 13, 2011 at 8:45 PM, Puneet Goyal puneetgoya...@gmail.comwrote: I think it's fibonacci series... T(n)= T(n-1) + T(n-2) Explanation: T(n

Re: [algogeeks] logic???????????

2011-08-13 Thread sagar pareek
. 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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you

Re: [algogeeks] logic???????????

2011-08-13 Thread sagar pareek
First of all how will u know the pivot points if u don't know original array secondly if u know pivot points and suppose u want to find 12 in ur above example then how will u first of all find 2 as u dont know the shift number On Sun, Aug 14, 2011 at 1:36 AM, sagar pareek sagarpar...@gmail.com

Re: [algogeeks] Re: citrix rd????

2011-08-13 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE

Re: [algogeeks] Re: citrix rd????

2011-08-13 Thread sagar pareek
sorry it is 3 hand written codes in 1 hour On Sun, Aug 14, 2011 at 2:29 AM, sagar pareek sagarpar...@gmail.com wrote: First they have writtwen (45 quwestions in 60 mins) Major (70-80% + ) on C++ .. simple... no need to study in deep networking need deep study... Some apti i dont

Re: [algogeeks] logic???????????

2011-08-13 Thread sagar pareek
this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks] string confusion

2011-08-13 Thread sagar pareek
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] Re: Printing a Number triangle

2011-08-13 Thread sagar pareek
. 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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed

Re: [algogeeks] string confusion

2011-08-13 Thread sagar pareek
://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] Remove spaces

2011-08-12 Thread sagar pareek
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm

Re: [algogeeks] Remove spaces

2011-08-12 Thread sagar pareek
and in O(1) space On Fri, Aug 12, 2011 at 3:53 PM, sagar pareek sagarpar...@gmail.com wrote: easy can be done in O(n) time and in O(1) On Fri, Aug 12, 2011 at 3:47 PM, Raghavan its...@gmail.com wrote: A huge paragraph has irregular spaces between the words, how to effectively we can make

Re: [algogeeks] Remove spaces

2011-08-12 Thread sagar pareek
. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] Remove spaces

2011-08-12 Thread sagar pareek
(New string is :- %s\n,str); } * On Fri, Aug 12, 2011 at 7:45 PM, sagar pareek sagarpar...@gmail.com wrote: ankit. flag ko wapis 0 kaun karega? pehle code ko run karke check karna chahiye na.. ! mean multiple spaces jaruri nahi ki ek hi baar ho :P On Fri, Aug 12, 2011 at 4:05

Re: [algogeeks] logic???????????

2011-08-12 Thread sagar pareek
@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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received

Re: [algogeeks] Re: logic???????????

2011-08-12 Thread sagar pareek
; else high = mid - 1; } } return -1; } On Aug 12, 8:38 pm, sagar pareek sagarpar...@gmail.com wrote: oh common shashank...its not that easy u told. just do codingthen u will find the error in ur logic On Fri, Aug 12, 2011 at 6:25 PM

Re: [algogeeks] Re: microsoft paper that i wrote today..

2011-08-12 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT

Re: [algogeeks] Quantz

2011-08-11 Thread sagar pareek
. 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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed

Re: [algogeeks] Quantz

2011-08-11 Thread sagar pareek
://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] Re: Quantz

2011-08-11 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK

Re: [algogeeks] Re: Quantz

2011-08-11 Thread sagar pareek
well tarun at first i thought same the answer to be 7 as 121 can be represented in 7 bits but total on bits are 5.. thats y 5 is answer On Fri, Aug 12, 2011 at 12:28 AM, sagar pareek sagarpar...@gmail.comwrote: ask any weight if u think 5 is not correct On Fri, Aug 12, 2011 at 12:25 AM

Re: [algogeeks] Re: Quantz

2011-08-11 Thread sagar pareek
to algogeeks@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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received

Re: [algogeeks]

2011-08-11 Thread sagar pareek
, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks]

2011-08-11 Thread sagar pareek
incrementing and finally max of all values and multiply the value means pre increment-evaluate-postincrement On Fri, Aug 12, 2011 at 1:02 AM, sagar pareek sagarpar...@gmail.comwrote: well its always depends on compiler to compiler in turbo c it will first increment all x results in c=6*6*6 c=216

Re: [algogeeks]

2011-08-11 Thread sagar pareek
told u before in turbo c it increments all values of x x=3; c=7*7*7*7; c=2401 On Fri, Aug 12, 2011 at 1:16 AM, Puneet Chawla puneetchawla...@gmail.comwrote: In turbo it is showing o/p 2401 again still confused... On Fri, Aug 12, 2011 at 1:14 AM, sagar pareek sagarpar...@gmail.comwrote: ok

Re: [algogeeks] Re: Quantz

2011-08-11 Thread sagar pareek
weights . I mean is it a guess or any mathematical explaination it there ?? On Thu, Aug 11, 2011 at 3:12 PM, sagar pareek sagarpar...@gmail.comwrote: 81-27+3 =57 On Fri, Aug 12, 2011 at 12:39 AM, Tarun Arya tarun@gmail.comwrote: sagar...cud u pls explain d weight distribution

Re: [algogeeks]

2011-08-11 Thread sagar pareek
: :)) On Fri, Aug 12, 2011 at 1:54 AM, aditi garg aditi.garg.6...@gmail.comwrote: @sagar.: Now i get it:) Thanks a ton :) On Fri, Aug 12, 2011 at 1:51 AM, sagar pareek sagarpar...@gmail.comwrote: @additi in gcc whenever compiler loads first two x's then before multiplying it increments x

Re: [algogeeks] amazon

2011-08-10 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER

[algogeeks] Tejas networks and MAQ

2011-08-10 Thread sagar pareek
Hi if anyone recently faced written or interview of those companies then pls discuss here Thanks in advance -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

[algogeeks] Re: Tejas networks and MAQ

2011-08-10 Thread sagar pareek
Please anyone On Wed, Aug 10, 2011 at 2:19 PM, sagar pareek sagarpar...@gmail.com wrote: Hi if anyone recently faced written or interview of those companies then pls discuss here Thanks in advance -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD

Re: [algogeeks] pls help

2011-08-10 Thread sagar pareek
, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] pls help

2011-08-10 Thread sagar pareek
nodes in the 4th level, add one child to each node, we get 27 leaf nodes in 5th level and similarly select 1nodes in 5th level and add 2 childs to make nodes 28, now we have interal nodes= 1+3+9+27+1=41 Correct me if wrong... On 10 August 2011 05:19, sagar pareek sagarpar...@gmail.com

Re: [algogeeks] solve this!

2011-08-09 Thread sagar pareek
/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] solve this!

2011-08-09 Thread sagar pareek
, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks] Re: directi prepration

2011-08-09 Thread sagar pareek
://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] MS question

2011-08-09 Thread sagar pareek
this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks] MS question

2011-08-09 Thread sagar pareek
my solution is in O(n) time and in O(1) space:D :D On Tue, Aug 9, 2011 at 7:21 PM, sagar pareek sagarpar...@gmail.com wrote: Simple ankit #includestdio.h #includestring.h main() { int i,j=0,l,count; char str[100],tmp; printf(Please enter the string\n); fgets(str,100

Re: [algogeeks] MS question

2011-08-09 Thread sagar pareek
@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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message

Re: [algogeeks] hi

2011-08-09 Thread sagar pareek
. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] pls help

2011-08-09 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK

Re: [algogeeks] pls help

2011-08-09 Thread sagar pareek
in ques 1 i considered leaves as nodes... if we consider only internal nodes then it have 27 On Wed, Aug 10, 2011 at 1:12 AM, sagar pareek sagarpar...@gmail.com wrote: 1.28+27 2.2pow(d) On Wed, Aug 10, 2011 at 12:07 AM, NIKHIL nikhil.jain.shali...@gmail.comwrote: In a ternary

Re: [algogeeks] pls help

2011-08-09 Thread sagar pareek
it On Wed, Aug 10, 2011 at 2:38 AM, muthu raj muthura...@gmail.com wrote: pls explain how u got 27? *Muthuraj R IV th Year , ISE PESIT , Bangalore* On Wed, Aug 10, 2011 at 1:13 AM, sagar pareek sagarpar...@gmail.comwrote: in ques 1 i considered leaves as nodes... if we consider

Re: [algogeeks] pls help

2011-08-09 Thread sagar pareek
+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

Re: [algogeeks] Re: amazon question

2011-08-08 Thread sagar pareek
@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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you

Re: [algogeeks] os

2011-08-08 Thread sagar pareek
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

Re: [algogeeks] Amazon Question

2011-08-08 Thread sagar pareek
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm

Re: [algogeeks] Re: amazon question

2011-08-08 Thread sagar pareek
: @ sagar: wat wud be the order? as in all 8 frst wud return non zero and rest 0 or wat? On Mon, Aug 8, 2011 at 6:50 PM, Kamakshii Aggarwal kamakshi...@gmail.comwrote: ok ..thanks sagar..:) On Mon, Aug 8, 2011 at 6:42 PM, sagar pareek sagarpar...@gmail.comwrote: lets label your forks

Re: [algogeeks] find nth node frm the last

2011-08-08 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE

Re: [algogeeks] Re: amazon question

2011-08-08 Thread sagar pareek
about the order in printfso it wud be like 8times one and then 8 times two? On Mon, Aug 8, 2011 at 8:23 PM, sagar pareek sagarpar...@gmail.comwrote: M

Re: [algogeeks] amazon test question!!!

2011-08-08 Thread sagar pareek
. 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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE

Re: [algogeeks] amazon question

2011-08-08 Thread sagar pareek
to algogeeks@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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You

Re: [algogeeks] ThoghtWorks on campus

2011-08-08 Thread sagar pareek
. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email

Re: [algogeeks] ThoghtWorks on campus

2011-08-08 Thread sagar pareek
://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] Re: Probability Puzzle

2011-08-08 Thread sagar pareek
. 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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you

Re: [algogeeks] Re: amazon test question!!!

2011-08-08 Thread sagar pareek
this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks] Re: o/p

2011-08-07 Thread sagar pareek
this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks] Re: output???

2011-08-06 Thread sagar pareek
in mantissa with 0. consider this code http://ideone.com/y1Ahu http://ideone.com/y1AhuIts equal bcoz the higher bits will be 0 for both double and float. similar result occurs for 0.25 0.75 0.10 etc,. On Sat, Aug 6, 2011 at 10:26 AM, sagar pareek sagarpar...@gmail.comwrote

Re: [algogeeks] Re: directi prepration

2011-08-06 Thread sagar pareek
/-/c3mNFdT__O8J. 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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER

Re: [algogeeks] Microsoft :)

2011-08-06 Thread sagar pareek
this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group, send email to algogeeks

Re: [algogeeks] Re: adobe

2011-08-06 Thread sagar pareek
/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] inorder

2011-08-06 Thread sagar pareek
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

Re: [algogeeks] inorder

2011-08-06 Thread sagar pareek
are skipping 1st left most leaf because it has no successor p=1; prev=ptr; inorder(ptr-right); } } simplest and short code :) :):) anyone have better code??? On Sat, Aug 6, 2011 at 8:24 PM, sagar pareek sagarpar...@gmail.com wrote: 2 solutions 1. node* arr[100]; int j

Re: [algogeeks] inorder

2011-08-06 Thread sagar pareek
are simply passed a tree in which we have to search... On Sat, Aug 6, 2011 at 8:33 PM, Dipankar Patro dip10c...@gmail.comwrote: how about using the threaded binary tree? On 6 August 2011 20:25, sagar pareek sagarpar...@gmail.com wrote: Sorry for typo mistake in prev solution 2 solutions 1

Re: [algogeeks] output???

2011-08-05 Thread sagar pareek
@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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message

Re: [algogeeks] Re: output???

2011-08-05 Thread sagar pareek
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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed

Re: [algogeeks] Re: output???

2011-08-05 Thread sagar pareek
. 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. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you

Re: [algogeeks] Re: output???

2011-08-05 Thread sagar pareek
see what piyush posted On Sat, Aug 6, 2011 at 4:35 AM, Shashank Jain shashan...@gmail.com wrote: sagar - i dint get u, d code thing! Shashank Jain IIIrd year Computer Engineering Delhi College of Engineering On Sat, Aug 6, 2011 at 2:31 AM, sagar pareek sagarpar...@gmail.comwrote

Re: [algogeeks] Re: output???

2011-08-05 Thread sagar pareek
, sagar pareek sagarpar...@gmail.comwrote: see what piyush posted On Sat, Aug 6, 2011 at 4:35 AM, Shashank Jain shashan...@gmail.comwrote: sagar - i dint get u, d code thing! Shashank Jain IIIrd year Computer Engineering Delhi College of Engineering On Sat, Aug 6, 2011 at 2:31 AM

Re: [algogeeks] Re: Directi on campus

2011-08-04 Thread sagar pareek
://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] Re: MS [Written Question]

2011-08-04 Thread sagar pareek
+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group

Re: [algogeeks] Fwd: Solve dis!

2011-08-04 Thread sagar pareek
+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] Fwd: Solve dis!

2011-08-04 Thread sagar pareek
@shady why cindy not linda? On Thu, Aug 4, 2011 at 5:21 PM, shady sinv...@gmail.com wrote: ^ it is cindy 1-cindy 2-linda 3-amy On Thu, Aug 4, 2011 at 5:18 PM, sagar pareek sagarpar...@gmail.comwrote: 1. i am not sure abt cindy or linda... 2. tuesday On Thu, Aug 4, 2011 at 4:41 PM

Re: [algogeeks] Puzzle

2011-08-04 Thread sagar pareek
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 group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE

Re: [algogeeks] Puzzle

2011-08-04 Thread sagar pareek
, sagar pareek sagarpar...@gmail.comwrote: 87.5 % On Thu, Aug 4, 2011 at 10:39 PM, Nikhil Gupta nikhilgupta2...@gmail.com wrote: There are 3 magical wells. Any input quantity of water we provide the 1st well is returned double (of this double, half is kept inside the well, and the other half

Re: [algogeeks] amazon

2011-08-04 Thread sagar pareek
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm

Re: [algogeeks] Samsung India electronics pvt. ltd

2011-08-04 Thread sagar pareek
, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] amazon

2011-08-04 Thread sagar pareek
in spiral form... now u tell me ur college and how and which companies visited urs ? On Fri, Aug 5, 2011 at 12:35 AM, Kamakshii Aggarwal kamakshi...@gmail.comwrote: @sagar:can u please post the questions that were asked? On Fri, Aug 5, 2011 at 12:20 AM, sagar pareek sagarpar...@gmail.comwrote

Re: [algogeeks] Samsung India electronics pvt. ltd

2011-08-04 Thread sagar pareek
, sagar pareek sagarpar...@gmail.comwrote: 1st round apti total 50 questions 25 data interpretation 25 reasoning then 1 interview(tech) + 1 hr and then u will be selected On Fri, Aug 5, 2011 at 12:18 AM, Gyanendra Kumar gyanendra.ii...@gmail.com wrote: As samsung is visiting our campus

Re: [algogeeks] Samsung India electronics pvt. ltd

2011-08-04 Thread sagar pareek
and yes attempt reasoning first On Fri, Aug 5, 2011 at 12:56 AM, sagar pareek sagarpar...@gmail.com wrote: i m sorry but i wasn't able to sit in samsung but i can give u a very good link this link is 4 ur data interpretation... but can practice for others like C, reasoning etc... main

Re: [algogeeks] Why cant structures be declared or defined in C but can be done in C++ ?

2011-08-04 Thread sagar pareek
this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed

Re: [algogeeks] Why cant structures be declared or defined in C but can be done in C++ ?

2011-08-04 Thread sagar pareek
and if possible provide help On Thu, Aug 4, 2011 at 3:33 PM, sagar pareek sagarpar...@gmail.comwrote: @ ankur first tell me diff b/w class and structure in reference to C++; answer is :- in structure all data members are by default public and in class its private all the left

Re: [algogeeks] amazon

2011-08-04 Thread sagar pareek
...@gmail.comwrote: I am from Nsit..adobe and MS have visited till now.. On Fri, Aug 5, 2011 at 12:48 AM, sagar pareek sagarpar...@gmail.comwrote: sorry kamakshi u are 5th one who is asking the same question... here in my college approx 10 companies have come from last 15-17 days amazon was first

Re: [algogeeks] amazon

2011-08-04 Thread sagar pareek
..adobe and MS have visited till now.. On Fri, Aug 5, 2011 at 12:48 AM, sagar pareek sagarpar...@gmail.comwrote: sorry kamakshi u are 5th one who is asking the same question... here in my college approx 10 companies have come from last 15-17 days amazon was first of them so i m so sorry

Re: [algogeeks] Samsung India electronics pvt. ltd

2011-08-04 Thread sagar pareek
hmmm i think 38 + On Fri, Aug 5, 2011 at 1:24 AM, Gyanendra Kumar gyanendra.ii...@gmail.comwrote: thnx a lot sagar for suggestion cud i know tentative cutoff of apti over der On Fri, Aug 5, 2011 at 12:57 AM, sagar pareek sagarpar...@gmail.comwrote: and yes attempt reasoning first

Re: [algogeeks] Samsung India electronics pvt. ltd

2011-08-04 Thread sagar pareek
but here students were more like we have 66 mca 60 M.Tech 140 B.Tech CSE 60 B.Tech IT but how many got registered for samsung i dont know as it was one of the initials company On Fri, Aug 5, 2011 at 1:25 AM, sagar pareek sagarpar...@gmail.com wrote: hmmm i think 38 + On Fri, Aug 5, 2011

Re: [algogeeks] Samsung India electronics pvt. ltd

2011-08-04 Thread sagar pareek
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] Samsung India electronics pvt. ltd

2011-08-04 Thread sagar pareek
://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] Largest Bst in a binary tree.

2011-08-04 Thread sagar pareek
://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] problem with array

2011-08-03 Thread sagar pareek
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

Re: [algogeeks] Re: MS [Written Question]

2011-08-03 Thread sagar pareek
, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] latest google interview questions

2011-08-02 Thread sagar pareek
/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- 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

Re: [algogeeks] Puzzle

2011-07-29 Thread sagar pareek
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks

Re: [algogeeks] longest common string!!!!!

2011-07-29 Thread sagar pareek
this group, send email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google

Re: [algogeeks] static array

2011-07-29 Thread sagar pareek
...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post to this group

Re: [algogeeks] static array

2011-07-29 Thread sagar pareek
first position of the array, so what about second, third ... positions of array..why all those are also 0 but it should be any garbage value... please clarify it. On Fri, Jul 29, 2011 at 7:38 PM, sagar pareek sagarpar...@gmail.comwrote: 0 0 0 0 0 u are taking array static which initialize

<    1   2   3   4   >