Re: [algogeeks] Data Structure

2012-09-18 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. -- **KIND REGARDS -- SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You

Re: [algogeeks] Need help regarding threads

2012-04-01 Thread Sagar Pareek
not match ‘void* (*)(void*)’ ... The function which is threaded should be either static or global in pthread implementation ... On Tue, Mar 27, 2012 at 7:20 PM, Sagar Pareek sagarpar...@gmail.comwrote: Thanks for reply but tell me two thing , is it true or not? is NULL is not equal to (void

Re: [algogeeks] Need help regarding threads

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

[algogeeks] Need help regarding threads

2012-03-26 Thread Sagar Pareek
() { pthread_t thread1; . . pthread_create(thread1,NULL,(void*)sender,(void*)0); //problem coming here . . pthread_join(thread1,NULL); } int main() { . . . . }* And error is invalid use of member (did you forget the ‘’ ?) Do anyone of you know how to solve it? -- **KIND REGARDS -- SAGAR

Re: [algogeeks] Re: Find Largest number in log(n)

2011-12-13 Thread sagar pareek
12, 2011 at 10:57 PM, Dave dave_and_da...@juno.com wrote: @Sagar: Don is correct. n/2+n/4+n/8+... ~= n. But even the first round, involving n/2 comparisons, is O(n). Dave On Dec 12, 11:23 am, sagar pareek sagarpar...@gmail.com wrote: Yes Mr. DoN First round of Tournament sort results

[algogeeks] Find Largest number in log(n)

2011-12-12 Thread sagar pareek
Hi every one. Can we find largest number from an unsorted array in log(n) ? -- **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

[algogeeks] Re: Find Largest number in log(n)

2011-12-12 Thread sagar pareek
I think... First round of tournament sort. :D On Mon, Dec 12, 2011 at 8:02 AM, sagar pareek sagarpar...@gmail.com wrote: Hi every one. Can we find largest number from an unsorted array in log(n) ? -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD

Re: [algogeeks] Re: Find Largest number in log(n)

2011-12-12 Thread sagar pareek
at each number, which is order n by definition. Don On Dec 12, 10:02 am, sagar pareek sagarpar...@gmail.com wrote: Hi every one. Can we find largest number from an unsorted array in log(n) ? -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received

Re: [algogeeks] Hired by Symantec :) :)

2011-10-01 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] Flip kart

2011-09-23 Thread sagar pareek
to do spiral traversal of a Binary Tree. I used stack and queues for the alternate levels. On Thu, Sep 22, 2011 at 7:54 PM, sagar pareek sagarpar...@gmail.comwrote: 12.5 On Thu, Sep 22, 2011 at 5:49 PM, Adi Srikanth adisriika...@gmail.comwrote: around 11.5 LPA gross Regards, Adi Srikanth

Re: [algogeeks] Flip kart

2011-09-23 Thread sagar pareek
and would u like to please tell me the online coding questions... On Fri, Sep 23, 2011 at 1:10 PM, sagar pareek sagarpar...@gmail.com wrote: thanx a ton one more query... was mcq is in online test? On Fri, Sep 23, 2011 at 1:54 AM, aditya kumar aditya.kumar130...@gmail.com wrote

Re: [algogeeks] Re: MICROSOFT IDC

2011-09-23 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] Flip kart

2011-09-22 Thread sagar pareek
? On Thu, Sep 22, 2011 at 12:26 AM, sagar pareek sagarpar...@gmail.comwrote: nit allahabad On Thu, Sep 22, 2011 at 12:20 AM, arpit rajpurohit arpit.rajpuro...@gmail.com wrote: which college may i know? On Wed, Sep 21, 2011 at 11:29 PM, sagar pareek sagarpar...@gmail.comwrote

[algogeeks] Flip kart

2011-09-21 Thread sagar pareek
Hello ... Do anyone know the process and questions of flip kart ?? -- **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] Flip kart

2011-09-21 Thread sagar pareek
it is coming in my college On Wed, Sep 21, 2011 at 10:14 PM, arpit rajpurohit arpit.rajpuro...@gmail.com wrote: How did u applied for it? Can you please let me know.. On Wed, Sep 21, 2011 at 10:05 PM, sagar pareek sagarpar...@gmail.comwrote: Hello ... Do anyone know the process

Re: [algogeeks] Flip kart

2011-09-21 Thread sagar pareek
nit allahabad On Thu, Sep 22, 2011 at 12:20 AM, arpit rajpurohit arpit.rajpuro...@gmail.com wrote: which college may i know? On Wed, Sep 21, 2011 at 11:29 PM, sagar pareek sagarpar...@gmail.comwrote: it is coming in my college On Wed, Sep 21, 2011 at 10:14 PM, arpit rajpurohit

Re: [algogeeks] Re: Directi Questions - needed answers

2011-09-19 Thread sagar pareek
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@googlegroups.com

Re: [algogeeks] Re: Symantec System programming ques

2011-09-18 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] c output,printf(%llx)

2011-09-18 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

Re: [algogeeks]

2011-09-18 Thread sagar pareek
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] Networking:suggest some book

2011-09-17 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] program

2011-09-15 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] A logical Question

2011-09-15 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]

2011-09-10 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]

2011-09-10 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]

2011-09-10 Thread sagar pareek
And please read my previous post again... i wrote stupid questionnot u r stupid... On Sun, Sep 11, 2011 at 4:24 AM, sagar pareek sagarpar...@gmail.com wrote: @Ayush I m sorry ... my intention was not to hurt you. On Sat, Sep 10, 2011 at 11:32 PM, shady sinv...@gmail.com wrote

Re: [algogeeks] IP Address

2011-09-07 Thread sagar pareek
there is a struct sockaddr_storage for generic storage and interconversion of IP address' if you don't know which version it is. On Tue, Sep 6, 2011 at 1:51 PM, sagar pareek sagarpar...@gmail.comwrote: @ r_shetty search 1. struct in_addr 2. struct sockaddr_in On Mon, Sep 5, 2011 at 10:04 PM, teja bala

Re: [algogeeks] IP Address

2011-09-06 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 SCIENCE

Re: [algogeeks] Tejas networks

2011-09-05 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] Network Question

2011-09-05 Thread sagar pareek
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@googlegroups.com

Re: [algogeeks] Network Question

2011-09-05 Thread sagar pareek
I got solutions from max people...half are saying its possible and half are saying its not.. Neha please u must read what longest prefix match On Mon, Sep 5, 2011 at 9:44 PM, sagar pareek sagarpar...@gmail.com wrote: oh pls neha i am doing my majors in networking.. On Mon, Sep 5

Re: [algogeeks] Tejas networks

2011-09-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

Re: [algogeeks] Network Question

2011-09-05 Thread sagar pareek
One more thing CIDR On Mon, Sep 5, 2011 at 10:49 PM, sagar pareek sagarpar...@gmail.com wrote: Google it:- Auto-summarization longest prefix match supernetting i think thats enough On Mon, Sep 5, 2011 at 10:06 PM, Neha Singh neha.ndelhi.1...@gmail.comwrote: @sagar : Can u give me any

[algogeeks] Tejas networks

2011-09-04 Thread sagar pareek
station i to j taking n hours. Given a starting station and destination station, find the minimum possible path from s to d. -- **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: Network Question

2011-09-04 Thread sagar pareek
. On Sat, Sep 3, 2011 at 11:54 PM, sagar pareek sagarpar...@gmail.comwrote: mask* On Sat, Sep 3, 2011 at 11:54 PM, sagar pareek sagarpar...@gmail.comwrote: ok i know it will match longest mask...but then it will always skip the ip of shorter mast if it has same ip address On Sat, Sep 3

Re: [algogeeks] Re: Network Question

2011-09-03 Thread sagar pareek
/w (LAN) we need to have unique ip address bt across the n/w (LAN) we can use same ip from the pool of ip addresses . On Sat, Sep 3, 2011 at 1:56 AM, sagar pareek sagarpar...@gmail.com wrote: It is urgent to get the answer thats why i m posting network question here

Re: [algogeeks] Re: Network Question

2011-09-03 Thread sagar pareek
dhcp assigns ip adsress from the pool of available address and within the n/w (LAN) we need to have unique ip address bt across the n/w (LAN) we can use same ip from the pool of ip addresses . On Sat, Sep 3, 2011 at 1:56 AM, sagar pareek sagarpar...@gmail.com wrote

Re: [algogeeks] Re: Network Question

2011-09-03 Thread sagar pareek
mask* On Sat, Sep 3, 2011 at 11:54 PM, sagar pareek sagarpar...@gmail.com wrote: ok i know it will match longest mask...but then it will always skip the ip of shorter mast if it has same ip address On Sat, Sep 3, 2011 at 10:15 PM, sukran dhawan sukrandha...@gmail.comwrote: ya the longest

[algogeeks] Network Question

2011-09-02 Thread sagar pareek
now suppose we are using these two subnets in a LAN and having this ip (10.0.1.2) in both the subnets then is there any IP conflict will happen or not? -- **Regards SAGAR PAREEK COMPUTER SCIENCE AND ENGINEERING NIT ALLAHABAD -- You received this message because you are subscribed to the Google

Re: [algogeeks] Pointer

2011-08-30 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] Re: How to save a binary search tree space efficiently

2011-08-28 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] Tejas Network Placement Process!!!

2011-08-27 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] Re: Recruitment Procedure for Microsoft Research Redmond and Bangalore

2011-08-27 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] Re: String passing

2011-08-27 Thread sagar pareek
?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] Adding Two no without using any operator...??

2011-08-27 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] Re: Remove all Duplicates Words

2011-08-25 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] Re: C doubt

2011-08-24 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 all Duplicates Words

2011-08-24 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] Re: Find the non-duplicate element in sorted array in O(n) time

2011-08-24 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] Re: Find the non-duplicate element in sorted array in O(n) time

2011-08-24 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: Search an array of unknown length

2011-08-23 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] Re: amazon q

2011-08-23 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: Search an array of unknown length

2011-08-23 Thread sagar pareek
expected this to be the answer.(using sizeof). On Tue, Aug 23, 2011 at 2:42 PM, sagar pareek sagarpar...@gmail.comwrote: @saurabh u are getting sizeof(a)/sizeofa[0] =1 coz fiest one is pointer and second one is integer...both's size is 4 do it without passing http://www.ideone.com/8olTP

Re: [algogeeks] Re: amazon q

2011-08-22 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] Adobe Interview - 20/08/2011

2011-08-22 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] Re: amazon q

2011-08-22 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] Output question

2011-08-22 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] Please share experiences if any body has faced Samsung Engineering Labs(SIEL)

2011-08-22 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] constructor ques

2011-08-22 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] Please share experiences if any body has faced Samsung Engineering Labs(SIEL)

2011-08-22 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] Re:

2011-08-22 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] C output

2011-08-22 Thread sagar pareek
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 -- You

Re: [algogeeks] array problem

2011-08-21 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] c question what is output?

2011-08-21 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] why the output 16

2011-08-21 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] Re: c question what is output?

2011-08-21 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

[algogeeks] Longest palindrome

2011-08-21 Thread sagar pareek
Suggest a method to find longest palindrome in a given string.. -- **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: amazon q

2011-08-21 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] SAP!!

2011-08-21 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] Adding Two numbers using bitwise operators only

2011-08-20 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] Aricent

2011-08-20 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

[algogeeks] Sorting

2011-08-20 Thread sagar pareek
that we move each statue the minimum possible distance. We can achieve this if each statue is moved exactly to its correct destination exactly once (no intermediate swaps). * I am not getting the answer...please anyone explain it... Thanks in advance :) :)* -- **Regards SAGAR PAREEK COMPUTER

Re: [algogeeks] Re: crossing a bridge; running away from zombies (logic puzzle)

2011-08-20 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] Sorting

2011-08-20 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] Number of nodes at each level in binary tree

2011-08-20 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] Answer these ques !!

2011-08-19 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] Answer these ques !!

2011-08-19 Thread sagar pareek
ok i got it!! oracle apps !! :D :D actually i got it from ur last post of bianry tree question :) :) On Fri, Aug 19, 2011 at 9:38 PM, sagar pareek sagarpar...@gmail.com wrote: ok nair so tell me from where u found these questions? On Fri, Aug 19, 2011 at 9:19 PM, jestincobol nair

Re: [algogeeks]

2011-08-19 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]

2011-08-19 Thread sagar pareek
well we can take anything as he stated in any order On Fri, Aug 19, 2011 at 9:49 PM, Abhishek Yadav algowithabhis...@gmail.comwrote: Hey try queue instead of stack On Fri, Aug 19, 2011 at 9:47 PM, sagar pareek sagarpar...@gmail.comwrote: traverse the list and print only odd numbers

Re: [algogeeks] Search an array of unknown length

2011-08-19 Thread sagar pareek
(log n). Got it ? Sanju :) On Fri, Aug 19, 2011 at 10:48 AM, sagar pareek sagarpar...@gmail.comwrote: HI, I have encountered a problem :- You have an array of *UNKNOWN *length . And you have to find an element in O(log(n)) time without using any extra space. -- **Regards SAGAR

Re: [algogeeks] Search an array of unknown length

2011-08-19 Thread sagar pareek
), this increase is exponential. Therefore the search is exponential and complexity is log n. Base depends on the factor by which you are multiplying for the next index to be compared. Sanju :) On Fri, Aug 19, 2011 at 10:57 AM, sagar pareek sagarpar...@gmail.comwrote: @Sanjay yeah its the very

Re: [algogeeks] Search an array of unknown length

2011-08-19 Thread sagar pareek
, it depends. Multiplication by 10 will be faster, I think. Sanju :) On Fri, Aug 19, 2011 at 11:05 AM, sagar pareek sagarpar...@gmail.comwrote: hmmm ok i found a solution in which index searching is done by 2^i which is more optimal multiplication by 10 or 2 power i ??i=0,1,2,3

Re: [algogeeks] Search an array of unknown length

2011-08-19 Thread sagar pareek
:) On Fri, Aug 19, 2011 at 11:43 PM, Sanjay Rajpal srn...@gmail.com wrote: Thats wat I said, it depends. Searching in the interval will compensate reaching the index earlier. So both are almost equivalent. Sanju :) On Fri, Aug 19, 2011 at 11:12 AM, sagar pareek sagarpar

Re: [algogeeks] Re: probability! tough one to crack!

2011-08-19 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: Search an array of unknown length

2011-08-19 Thread sagar pareek
is outside the array. An address violation may occur, or arbitrary data, unrelated to the data in the array may be used. I think the problem as stated is unsolvable. Dave On Aug 19, 12:48 pm, sagar pareek sagarpar...@gmail.com wrote: HI, I have encountered a problem :- You have an array

Re: [algogeeks] Re: Search an array of unknown length

2011-08-19 Thread sagar pareek
you get to at least a[262144] (2 to the 18th). But you will pick up plenty of garbage which may throw off your binary search. Dave On Aug 19, 1:26 pm, sagar pareek sagarpar...@gmail.com wrote: Well sorry but i forget to mention exceptions in the solution. Here is the complete solution

Re: [algogeeks] Re: exit() vs. _exit()

2011-08-18 Thread sagar pareek
, 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] Amazon Question

2011-08-18 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] Amazon Question

2011-08-18 Thread sagar pareek
Common yaar its very simple it is good for u to go in deep hence google it or refer a good data structure book On Thu, Aug 18, 2011 at 5:36 PM, Ankur Garg ankurga...@gmail.com wrote: Can u provide a bit detail bro !! On Thu, Aug 18, 2011 at 8:04 AM, sagar pareek sagarpar...@gmail.comwrote

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

2011-08-17 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] an amazing amazon question!

2011-08-17 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] Re: an amazing amazon question!

2011-08-17 Thread sagar pareek
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 to algogeeks

Re: [algogeeks] Re: an amazing amazon question!

2011-08-17 Thread sagar pareek
with this logic, because the third milestone can have more than 2 digits. On Wed, Aug 17, 2011 at 3:08 PM, sagar pareek sagarpar...@gmail.com wrote: @rajul 61-16 =45 its not 55 miles per hour On Wed, Aug 17, 2011 at 11:33 PM, Don dondod...@gmail.com wrote: Actually you are all wrong. His

Re: [algogeeks] Re: an amazing amazon question!

2011-08-17 Thread sagar pareek
+10c = 18y -- gives y=6 and c=0 i hope i explain better :) :) * On Wed, Aug 17, 2011 at 11:51 PM, sagar pareek sagarpar...@gmail.comwrote: @rajul dave 45 miles per hour is uniform speed On Wed, Aug 17, 2011 at 11:49 PM, rajul jain rajuljain...@gmail.comwrote: but its speed is uniform i

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

2011-08-15 Thread sagar pareek
C++ On Mon, Aug 15, 2011 at 12:37 AM, htross htb...@gmail.com wrote: should i study OOP concepts in c++ for the written test?? On Aug 14, 2:49 pm, sagar pareek sagarpar...@gmail.com wrote: in networking give emphasis on protocols like ARP, DHCP and all On Sun, Aug 14

Re: [algogeeks] array ques

2011-08-15 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] MS question

2011-08-15 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] Assignment!!

2011-08-15 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] matrix question ???!!!!!!!!!!??????????

2011-08-15 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] string confusion

2011-08-14 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

  1   2   3   4   >