DEV Community

loading...

Discussion on: Capitalize the first letter of every word

Collapse
lukaszahradnik profile image
Lukáš Zahradník

Your algorithm will not reduce the complexity to O(n), because the algorithm in the article already has time complexity O(n)