Removed assertion about time complexity