$A(n) = A(n/3) + A(n/2) + A(2n/3) + O(n)$
So I am trying to solve this equation. I let $A(n) = O(n)$. I then solved the equation this way:
$n/3 + n/2 + 2n/3 + kn,$ which can simplify to $3n/2 + kn$, which is $cn$, where $k$ and $c$ are some constants.
Is this the right way to do this? Thank you.