Ntn else is provided..??
On Feb 28, 2012 12:51 PM, "Gaurav Popli" wrote:
> Given a sequance of natural numbers.
>
> Find N'th term of this sequence.
>
> a1=2, a2=4, a3=11, a4=36, a5=147, a6=778 ... ... ... ... aN.
>
>
> this is a coding quesn and O(n) soln is also welcome...
>
> --
> You rece
+1 Prem
@ligerdave : I knew about the recursion method..but can u throw some light
on the pointer based method..(with a small example maybe)..
Specifically I wanted to know the implementation part and the running time
of the algorithm.
On Wed, Oct 26, 2011 at 8:33 PM, ligerdave wrote:
> @meng Yo
dynamic programming with binary search should do it..
Regards
VM
NSIT, COE, 3rd yr
On Tue, Aug 2, 2011 at 6:19 PM, Kamakshii Aggarwal wrote:
> @sunny:yes all the squares should be of same size
>
>
> On Tue, Aug 2, 2011 at 5:03 PM, Poised~ wrote:
>
>> @ narain-
>> i didn't see that coming. thank