|
|
|
|
|
by chrshawkes
3042 days ago
|
|
How often does one have to reverse a string? What is the purpose of such a dumb test? How often have you had to do such a thing in the real world (outside of tests such as interview questions?) I suppose you could make the argument we do have to reverse arrays, but strings? Give me a break, only idiot programmers spend their time practicing for useless programming interview questions. |
|
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.