Hint: It is a dp of the form f(n+3) = a*f(n+2) + b*f(n+1) + c*f(n)
>>>> Figure a, b, c urself..
>>>>
>>>> VM
>>>> NSIT, Dwarka
>>>> 3rd year, COE
>>>>
>>>>
>>>>
It is also a dp of form f(n)=a*f(n-1) + b*f(n-2)

-- 
Thanks and Regards
*Devansh Gupta*
*B.Tech Third Year*
*MNNIT, Allahabad*

-- 
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.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to