Methods To Calculate Time Complexity Of Code