Re: [algogeeks] cracking the coding interview book

2011-11-25 Thread Ishan Aggarwal
. 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 Ishan Aggarwal -- You received this message because you are subscribed to the Google Groups Algorithm

Re: [algogeeks] request of ebook..(Data Structures and algorithms made easy:)

2011-09-26 Thread Ishan Aggarwal
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. -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower

[algogeeks] plz reply quickly

2011-09-22 Thread Ishan Aggarwal
How will u detect if a queue is circular or not?? -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar...@aricent.com puneet.ar...@aricent.com -- You received this message because you

Re: [algogeeks] plz reply quickly

2011-09-22 Thread Ishan Aggarwal
In both the cases... what would be the condition? On Thu, Sep 22, 2011 at 10:19 PM, sukran dhawan sukrandha...@gmail.comwrote: queue represnted as array or linked list ? On Thu, Sep 22, 2011 at 10:08 PM, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: How will u detect if a queue

[algogeeks] Question --

2011-09-20 Thread Ishan Aggarwal
Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar...@aricent.com puneet.ar...@aricent.com -- You received this message because you are subscribed to the Google Groups Algorithm Geeks group. To post

Re: [algogeeks] Question --

2011-09-20 Thread Ishan Aggarwal
] to n[i] by M[j] to M[i]. On Tue, Sep 20, 2011 at 12:33 PM, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: You are given two 32-bit numbers, N and M, and two bit positions, i and j.Write a method to set all bits between i and j in N equal to M (e.g., M becomes a substring of N located

Re: [algogeeks] Re: Question --

2011-09-20 Thread Ishan Aggarwal
, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: What are u doing in the first loop running for k=31 to k =0? On Tue, Sep 20, 2011 at 12:50 PM, abhinav gupta guptaabhinav...@gmail.com wrote: U can use single walker (from 0 till 31) to convert integers N and M into array

Re: [algogeeks] Re: Question --

2011-09-20 Thread Ishan Aggarwal
Again it is giving the same error. on changing it to 32. On Tue, Sep 20, 2011 at 2:18 PM, abhinav gupta abhinav@gmail.comwrote: Instead of Num[31] u should tk Num[32] On Tue, Sep 20, 2011 at 2:16 PM, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: Hi, When I am running

Re: [algogeeks] Re: Question --

2011-09-20 Thread Ishan Aggarwal
in there return ( n mask ) | ( m i) } On Tue, Sep 20, 2011 at 10:11 PM, Dave dave_and_da...@juno.com wrote: @Ishan: Using bitwise operations: N = (N ~((2 j) - (1 i) | (M i); Dave On Sep 20, 2:03 am, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: You are given two 32-bit

Re: [algogeeks] output

2011-09-13 Thread Ishan Aggarwal
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. -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road

Re: [algogeeks] Pgm

2011-09-11 Thread Ishan Aggarwal
email to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar

[algogeeks] Programs

2011-09-11 Thread Ishan Aggarwal
[i] = str[i+1]; i--;} i++;}printf http://www.opengroup.org/onlinepubs/009695399/functions/printf.html(%s, str);} -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar...@aricent.com

Re: [algogeeks] Programs

2011-09-11 Thread Ishan Aggarwal
at 5:43 PM, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: {Please solve the following questions :- 1.) Find first non repeated character. eg. total -- o teeter -- r 2.) Remove specified letters from a string. input -- Battle of the vowels: Hawaii vs. Gronzy , aeiou output -- Bttle

Re: [algogeeks] Re: Request for crack coding book ebook

2011-09-11 Thread Ishan Aggarwal
/algogeeks?hl=en. -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar...@aricent.com puneet.ar...@aricent.com -- You received this message because you are subscribed to the Google Groups

Re: [algogeeks] C Puzzle

2011-09-11 Thread Ishan Aggarwal
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. -- Kind Regards Ishan Aggarwal

Re: [algogeeks] Circular Left shift

2011-09-10 Thread Ishan Aggarwal
=en. -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar...@aricent.com puneet.ar...@aricent.com -- You received this message because you are subscribed to the Google Groups Algorithm

[algogeeks] Code it

2011-09-10 Thread Ishan Aggarwal
What would be the efficient way to code this program.?? Given an array of size n, find all the possible sub set of the array of size k(all the subsets must be of size k). -- Kind Regards Ishan Aggarwal Phone : +91-9654602663 -- You received this message because you are subscribed

[algogeeks] What would be the ans.

2011-09-10 Thread Ishan Aggarwal
three points are randomly chosen on a circle.what the probability that 1.triangle formed is right angled triangle. 2.triangle formed is acute angled triangle. 3.triangle formed is obtuse angled triangle. -- Kind Regards Ishan Aggarwal Phone : +91-9654602663 -- You received this message

Re: [algogeeks] What would be the ans.

2011-09-10 Thread Ishan Aggarwal
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. -- Kind Regards Ishan

Re: [algogeeks] Re: Write a program

2011-09-10 Thread Ishan Aggarwal
Hi, Actually I am not good at hash tables. can u plzz suggest me some gud link from where I can study hash tables... and also tell me the logic for integer arrays for which the complexity will be o(n logn). Thanks in advance. -- Kind Regards Ishan Aggarwal Phone : +91-9654602663 On Sat, Sep

Re: [algogeeks] Re: How can we find second largest element in an array... in O(n+logn-2)... give me proof.....

2011-09-10 Thread Ishan Aggarwal
@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 Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana

[algogeeks] Question -- plz answer

2011-09-10 Thread Ishan Aggarwal
only from 2 and 3 resp but 5 gets water from both the cups and so on. Now given C and M .Find the amount of water in ith cup. -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar

Re: [algogeeks] Re: Write a program

2011-09-10 Thread Ishan Aggarwal
...@gmail.comwrote: yes for integer arrays we need to sort o(nlogn) and den compare in o(n) On Sat, Sep 10, 2011 at 7:12 PM, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: Hi, Actually I am not good at hash tables. can u plzz suggest me some gud link from where I can study hash

Re: [algogeeks] Code it

2011-09-10 Thread Ishan Aggarwal
can someone plz provide the solution to it??? On Sat, Sep 10, 2011 at 9:30 PM, sukran dhawan sukrandha...@gmail.comwrote: best way it to invoke the function recursively just like a k-1 ary tree correct me if im wrong On Sat, Sep 10, 2011 at 2:49 PM, Ishan Aggarwal ishan.aggarwal.1

[algogeeks] Solve the following problems

2011-09-10 Thread Ishan Aggarwal
completely from the array with cost = value of element -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar...@aricent.com puneet.ar...@aricent.com -- You received this message because you

Re: [algogeeks] Write a program to Convert an ASCII representation of a positive integer to it's numeric value ??

2011-09-10 Thread Ishan Aggarwal
Not able to find some good solution for this... On Sat, Sep 10, 2011 at 10:17 PM, shady sinv...@gmail.com wrote: string manipulation... google it. On Sat, Sep 10, 2011 at 10:06 PM, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: -- Kind Regards Ishan Aggarwal [image: Aricent

Re: [algogeeks] Re: Write a program

2011-09-10 Thread Ishan Aggarwal
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar

[algogeeks] Questions --

2011-09-10 Thread Ishan Aggarwal
1.) how would you detect mouth in a picture 2.) write iterative version of seed fill algorithm -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar...@aricent.com puneet.ar...@aricent.com

Re: [algogeeks] Questions --

2011-09-10 Thread Ishan Aggarwal
I dont know. I got this question from Facebook interview page. So posted it here.. On Sun, Sep 11, 2011 at 10:51 AM, bharatkumar bagana bagana.bharatku...@gmail.com wrote: what is seed fill algorithm? On Sun, Sep 11, 2011 at 10:45 AM, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: 1

Re: [algogeeks] Aps

2011-09-07 Thread Ishan Aggarwal
to algogeeks+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en. -- Kind Regards Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon,Haryana.122015 INDIA Phone : +91-9654602663 ishan2.aggar

Re: [algogeeks] Aps

2011-09-07 Thread Ishan Aggarwal
@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 Ishan Aggarwal [image: Aricent Group] Presidency Tower-A, M.G.Road,Sector-14 Gurgaon

[algogeeks] Facebook Interview questions. -- Urgent

2011-09-07 Thread Ishan Aggarwal
Do anyone know what kind of questions facebook ask in their coding interview?? Wht should I prepare... -- 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] Facebook Interview questions. -- Urgent

2011-09-07 Thread Ishan Aggarwal
will have to code to output the solution .. i think it was a 75 min coding round. On Thu, Sep 8, 2011 at 12:17 AM, Ishan Aggarwal ishan.aggarwal.1...@gmail.com wrote: Do anyone know what kind of questions facebook ask in their coding interview?? Wht should I prepare... -- You received

Re: [algogeeks] unique key

2011-09-04 Thread Ishan Aggarwal
Hi, Unique key with not null constraint works similar to the Primary key. Both will uniquely identify each row of the table with not null constraint. The only difference is a table may have arbitrarily many unique keys but at most one primary key. -- Kind Regards Ishan Aggarwal [image

[algogeeks] Urgent

2011-09-02 Thread Ishan Aggarwal
Hi, Anyone aware what facebook asks in their first phone call, regarding general background details and other related information and what should be prepared for their interview? -- Kind Regards Ishan Aggarwal Phone : +91-9654602663 -- You received this message because you are subscribed

[algogeeks] Ishan Aggarwal wants to chat

2011-08-28 Thread Ishan Aggarwal
--- Ishan Aggarwal wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-29c1639b1-0f10bf7075-C-KR8EyMrsOu-VDR4HVkvtL75XI You'll