Time Complexity In Array