Methods To Calculate Time Complexity Of Algorithm