How To Check Time Complexity