PROGRAMMERS: In-depth learning is sometimes very important

mathsjery

JF-Expert Member
Sep 26, 2015
2,208
1,755
Check this short article!

An interviewer asked me to reverse a string without built in functions.

What is the point in that if the built in functions are there to help developers?

Answer:
Because reversing a string without the use of functions shows that you understand the underlying concepts. It’s a Fizzbuzz level problem. If you cannot do that, then there is code you cannot write, nor understand. You cannot understand integration if you don’t know addition and multiplication. And, you don’t know addition, if you can’t add 3 + 5.

If you cannot reverse a string with manual operations, you cannot probably sort an array with manual operations either. If you cannot do that, you cannot say you understand arrays

From Quora
 

Similar Discussions

Back
Top Bottom