Re: How many bytes per Italian character?
- From: "Nobody" <Nobody@xxxxxxxxx>
- Date: Sat, 7 Apr 2007 02:00:48 -0700
Just venting.
Here is a story about somebody who writes compilers I highly admire.
http://www.bearcave.com/random_hacks/permute.html
or just type "Calculating Permutations" in your favorite browser.
It should be the first link.
I was really happy when I stumbled across the web page, because I had a
similar incident.
I never applied to write a compiler. I just got the same type of question
from Microsoft.
The question was how to reverse a string using only 1 free character.
Change
Hello my name is nobody
Into
nobody is name my Hello
I didn't know how to answer that on my feet either. It was a phone
interview.
I then asked the interviewer a question he could not answer, so I told him
the answer.
He then told me the answer to his question.
If you want to, you can figure it out for yourself, or you can scroll down
to see the answer.
First, reverse the string.
ydobon si eman ym olleH
Now, reverse each word.
nobody is name my Hello
I don't know.
Maybe I am the only one who doesn't know how to do that off the top of my
head?
I have never seen that question arise in this newsgroup.
I am waiting....
.
- Follow-Ups:
- Re: How many bytes per Italian character?
- From: Mihai N.
- Re: How many bytes per Italian character?
- From: Joseph M . Newcomer
- Re: How many bytes per Italian character?
- References:
- Re: How many bytes per Italian character?
- From: Joseph M . Newcomer
- Re: How many bytes per Italian character?
- From: MrAsm
- Re: How many bytes per Italian character?
- From: Joseph M . Newcomer
- Re: How many bytes per Italian character?
- From: Alexander Grigoriev
- Re: How many bytes per Italian character?
- From: Joseph M . Newcomer
- Re: How many bytes per Italian character?
- Prev by Date: Re: How many bytes per Italian character?
- Next by Date: Re: Are _T() and TEXT() macros equivalent?
- Previous by thread: Re: How many bytes per Italian character?
- Next by thread: Re: How many bytes per Italian character?
- Index(es):
Relevant Pages
|
Loading