Reducing Time Complexity In Data