oops ....

On Sat, May 1, 2010 at 5:50 PM, Sundeep Singh <singh.sund...@gmail.com>wrote:

> Hi Amit,
>
> here's the answer: (I am assuming in your equation "lg" implies log to the
> base 10)
> n < 8 log(n)
> => n/8 < log(n)
> => 10 ^(n/8) < n
>

The final deduction was incorrect!!
for log base 10, the answer is:
2 <= n <= 6

--Sudneep.



> => n > 8
>
> --Sundeep.
>
>
>
> On Sat, May 1, 2010 at 10:43 AM, Amit Agarwal <lifea...@gmail.com> wrote:
>
>> I could not get you properly. This is an equation comes from the problem
>> statement where I need to find out cut-off value of n between insertion and
>> merge sort. I think equation is part of basic mathematics but I don't
>> remember how do I solve it.
>>
>>
>> -Regards
>> Amit Agarwal
>> Contact: 09765348182
>> www.amitagrwal.com
>>
>>
>>
>>
>> On Sat, May 1, 2010 at 9:13 AM, abhijith reddy 
>> <abhijith200...@gmail.com>wrote:
>>
>>> binary search on n
>>>
>>> On Fri, Apr 30, 2010 at 10:15 PM, Amit Agarwal <lifea...@gmail.com>wrote:
>>>
>>>> how do I compute n from this equation.
>>>> n < 8lg(n)
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "Algorithm Geeks" group.
>>>> To post to this group, send email to algoge...@googlegroups.com.
>>>> To unsubscribe from this group, send email to
>>>> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
>>>> .
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/algogeeks?hl=en.
>>>>
>>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Algorithm Geeks" group.
>>> To post to this group, send email to algoge...@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
>>> .
>>> For more options, visit this group at
>>> http://groups.google.com/group/algogeeks?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Algorithm Geeks" group.
>> To post to this group, send email to algoge...@googlegroups.com.
>> To unsubscribe from this group, send email to
>> algogeeks+unsubscr...@googlegroups.com<algogeeks%2bunsubscr...@googlegroups.com>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/algogeeks?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algoge...@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.

Reply via email to