Sorry.
This will work
Best Regards,
--
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.
F
Hey
there are three answers for the given example.
But you solution will give only 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 group, send ema
what is the complexity of your alg?
Best Regards,
T V Thirumala Reddy
On Mon, Jul 11, 2011 at 4:02 PM, TIRU REDDY wrote:
> We need all pairs.
>
> Best Regards,
> T V Thirumala Reddy
>
>
>
>
> On Mon, Jul 11, 2011 at 3:56 PM, saurabh singh wrote:
>
>> O
We need all pairs.
Best Regards,
T V Thirumala Reddy
On Mon, Jul 11, 2011 at 3:56 PM, saurabh singh wrote:
> Ok lets see.
> 1->Traverse a pointer right down to the leftmost element,i.e.the
> shortest,say small
> 2->traverse a pointer left down to the rightmost element i.e.the
> largest.say l
Agreed.
On 11 Jul 2011 00:38, "DK" wrote:
The answer is a simple encoding of the number in base 26.
There is no need to calculate anything else.
--
DK
http://twitter.com/divyekapoor
http://www.divye.in
--
You received this message because you are subscribed to the Google Groups
"Algorithm Ge
Today I attended an interview.
Just wanna share a good Q.
Rows are represented using alphabets.
Example:
first row - 'A'
second row: 'B'
.
.
.
26th row : 'Z'
27th: 'AA'
.
.
Now given a number, we need to find the corresponding alphabet
representation.
Say Given 78
Answer should be "BZ"
Given 2
how about a*rand(0,1)+b?
On Wed, Jul 6, 2011 at 11:20 PM, Nitish Garg wrote:
> implementation of Random(a, b) that only make calls to Random(0, 1)
--
You received this message because you are subscribed to the Google Groups
"Algorithm Geeks" group.
To post to this group, send email to algoge
, Hitech city, Madhapur,
Hyderabad-81.
On Wed, Jul 6, 2011 at 11:14 PM, Sriganesh Krishnan <2448...@gmail.com>wrote:
> @tiru and @aseem: explanation pls...!
>
>
> On Wed, Jul 6, 2011 at 11:11 PM, TIRU REDDY wrote:
>
>> 14
>>
>> On 6 Jul 2011 22:35, "sh
14
On 6 Jul 2011 22:35, "shiv narayan" wrote:
* You are given 2 eggs.
* You have access to a 100-storey building.
* Eggs can be very hard or very fragile means it may break if dropped
from the first
floor or may not even break if dropped from 100 th floor.Both eggs are
identical.
* You need to
what about 7?
7 occurred once right?
On Jul 6, 12:32 am, aditya kumar wrote:
> in 7000 : '0' occurs seven times and rst of the numbers occur zero
> times. i still dint get where i am wrong . plz explain me .
>
> On Wed, Jul 6, 2011 at 12:47 AM, L wrote:
> > @aditya : I am wondering how many
10 matches
Mail list logo