Technical Interviews 1
November 6th, 2010This was the first draft of my comic for The Daily about technical interviews, but it was rejected because my editor didn’t know what reversing a string was. PREPOSTEROUS
Okay, I guess this comic would be confusing for non-programmer type people.
Tech interviews are terrifying, by the way. I just am so afraid of blanking out.
He he I like it. Silly daily editor.
That must be such a strange question to someone who has never programmed, haha.
I like both versions! ^_^
OK, so I must be a total dork. The first thing I thought off was “well, it depends, what language would that be in?”
It must be strange for non-programmers to listen to programmers. When we talk about strings, I wonder what they think. Is it yarn or string theory?
haha. I don’t know how to reverse a string, but at least I get it.
I had to do this recently, and it’s surprisingly easy. Fortunately, JavaScript has an Array.reverse(). So just convert it to an array and back
String.split('').reverse().join('')
. I believe I read somewhere recently that this has horrible performance, though.Heh, us programmers give ourselves a lot of pain, overthinking it and then using geekspeak.
The other person goes into MEGO and we don’t understand why.
What you have to learn how to do is known as an “Executive Summary” i.e. Kindergarten for adults.