Lecture 45 Challenge

I think the O(n logn) is best suited for the IsIsogram() method as we will need to do sorting and checking then comparing the n variables in order. O(n^2) does not scale properly with the longer words and O(n) does not give us accurate results.

Privacy & Terms