Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proof:-
- For base case
- 1=O(1)
- suppose n-1 = O(1)
- => 1+(n-1)=O(1)+O(1)
- => n=O(1).
- hence it is proved.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement