1 Reusable Code Snippet Topic

Remove Filter
Member Avatar for Iam3R

I am very poor in calculating complexities. Please some one let me know what is the complexity of the below program. I actually want to write a program for finding the nth last element with 0(n) complexity. but unable write, please give me some idea. the below code works perfectly …

0
298

The End.