I'm solving some recurrence relation problems for Big O.
T(n) = T(n-1)
I started with:
T(n) = T(n-1)
T(n-1) = T(n-2)
..
T(n) = T(n-k)
Now setting k to n-1
T(n) = T(1)
So the result is
T(n) = O(1)
I'm not entirely sure if this is correct, but I'm uncertain that this is so easy.