[algogeeks] Re: Pigeon Hole Principle

2007-03-25 Thread Santhosh Suresh
@Vishal When you rotate the inner section through it's 200 configurations, each of the inner section happens to come in tune with each of the outer sections, so there will 100 'matchings' and 100 mismatches. On 3/25/07, Vishal [EMAIL PROTECTED] wrote: I did assume that the outer disk is painted

[algogeeks] Re: Pigeon Hole Principle

2007-03-24 Thread Santhosh Suresh
Yes, I don't think we can assume that the reds and whites are contiguous. They might be arbitrarily distributed. The only information is that there are 100 reds and 100 whites. On 3/25/07, Karthik Singaram L [EMAIL PROTECTED] wrote: yes...but that does not mean that you can assume that the 100

[algogeeks] Fwd: [algogeeks] Re: the sum of two unsigned integers

2007-01-24 Thread Santhosh Suresh
say, given the limit of the unsigned as k bits. Find log to base 2^k. If it's one in both, it'll result in an overflow. -- Forwarded message -- From: aravind kumar [EMAIL PROTECTED] Date: Jan 24, 2007 7:10 PM Subject: [algogeeks] Re: the sum of two unsigned integers To: