[algogeeks] Google Interview Question

2011-09-30 Thread R@TH!$H
Hi, I am attending Google interview on Monday. Please help me with sample questions. Thanks Regards, Rathish Kannan -- 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

[algogeeks] cycle cover

2010-11-30 Thread Lewis H
With a directed graph G and we want to find the cycle cover(a set of cycles s.t. every vertex is in exactly 1 cycle), can we do this in poly-time? Can we break each node into entry/exit nodes and do bipartite matching? Would this work? Thanks, L.H. -- You received this message because you are

[algogeeks] Largest span of Increasing Pair in an array

2009-09-05 Thread p0r$h
Given an array of integers A[N], find the maximum value of (j-k) such that A[k] = A[j] jk. I am looking for a solution with time complexity better than O(N^2). --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

[algogeeks] Re: how to show that n is a big oh ([lg n ]^2 )

2009-05-14 Thread p0r$h
hi all ,I am talking about the big-Oh notation , I had to prove that [lg n] ^2 is better than the n . how can I do that . I have tried to show that n is a big-oh of  ([lg n] ^2) ,but how can I do that ? I hope proving (lg n)^b = o( n^a) , a,b0 o here denotes small-Oh, should

[algogeeks] a 128 bit data type in c.

2008-02-03 Thread kamalakannan .h
hellow, i am doing a program which deals with 128 bit numbers.i want to store a 128 bit in a variable, as we know all the data types in c offer less than 80 bits. now how do i create a 128 bit data type for my program. --~--~-~--~~~---~--~~ You received

[algogeeks] Re: subset with maximum sum.

2007-10-20 Thread kamalakannan .h
On 10/16/07, Muntasir Azam Khan [EMAIL PROTECTED] wrote: h am terrible sorry dude. it is subsequence!!! On Oct 13, 11:39 pm, kannan [EMAIL PROTECTED] wrote: hellow! here is the problem statement. you have to find the subset having the maximum sum in the given array of

[algogeeks] Re: Recursion in blobs

2006-01-26 Thread H.
Wow, thanks! :-). It's very re-assuring to know that I got it right.

[algogeeks] Re: Recursion in blobs

2006-01-26 Thread H.
Thanks for the information. My google searches had been very inefficient (I mean, blob algorithms juast hadn't gotten very far), and now they will be that much more targeted.

[algogeeks] Recursion in blobs

2006-01-25 Thread H.
Today in a data structures class we went over blob recursion. What we went over is actually described on this page (different school though): http://www.bowdoin.edu/~ltoma/teaching/cs107/fall05/Labs/lab9.html I understand how the recursion works, but I'm more interested in determing the exact