DEV Community

Discussion on: Capitalize the first letter of every word

Collapse
lukaszahradnik profile image
Lukáš Zahradník • Edited on

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