Time Complexity Related Questions