By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,605 Members | 1,391 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,605 IT Pros & Developers. It's quick & easy.

need help in number of inversions in sorting

P: n/a
hello:

how many inversions there in S O T R M E ?

thank you

Nov 10 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a


xandra wrote On 11/10/06 12:58,:
hello:

how many inversions there in S O T R M E ?
C guarantees that all these character codes are positive
numbers, but says nothing about their values or their relative
order. Thus, your question is not answerable except in fairly
broad terms: "No fewer than zero and no more than fifteen."

If you want to impress your instructor with the depth of
your understanding, there's no better way to do it than to
submit an answer like the one above. At one stroke it shows
that you have mastered the material even better than your
teacher has, by pointing up a flaw in the homework assignment.
Since teachers are strongly interested in the increase of
knowledge and wisdom, you can expect to be thanked and suitably
rewarded. Good luck!

--
Er*********@sun.com

Nov 10 '06 #2

P: n/a

"xandra" <ja*********@yahoo.comwrote in message
news:fe******************************@localhost.ta lkaboutprogramming.com...
hello:

how many inversions there in S O T R M E ?

thank you
One - 'O' is the only letter that looks the same when inverted.
--
Fred L. Kleinschmidt
Boeing Associate Technical Fellow
Technical Architect, Software Reuse Project
Nov 10 '06 #3

P: n/a
Fred Kleinschmidt said:
>
"xandra" <ja*********@yahoo.comwrote in message
news:fe******************************@localhost.ta lkaboutprogramming.com...
>hello:

how many inversions there in S O T R M E ?

thank you

One - 'O' is the only letter that looks the same when inverted.
You missed S. Also, T, M, and E can be inverted in particular ways that do
not change their appearance. (Whether this is true in a given font is
another matter - but that's the case for O too.)

--
Richard Heathfield
"Usenet is a strange place" - dmr 29/7/1999
http://www.cpax.org.uk
email: normal service will be restored as soon as possible. Please do not
adjust your email clients.
Nov 10 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.