3 ms·
If you meant to be O(n), you should have used p=strchr(p,' ') for the next-iteration part of your for loop.
by jongraehl 17y ago
If you meant to be O(n), you should have used p=strchr(p,' ') for the next-iteration part of your for loop.
- tptacek 17y agoI didn't write that code, Google did. I wonder if the person who wrote it can figure out how many golf balls fit in a school bus?