3 ms·
Does one really need to practice to reverse a string? Do we now live in an age where a programmer cannot reverse a string purely from basic knowledge about prog
by foo101 9y ago
Does one really need to practice to reverse a string? Do we now live in an age where a programmer cannot reverse a string purely from basic knowledge about programming and common-sense?
Reversing a string takes 2 minutes or less even if all you know is how to work with strings and how to write a for-loop.