Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > C Programming > need help in number of inversions in sorting

Reply
Thread Tools

need help in number of inversions in sorting

 
 
xandra
Guest
Posts: n/a
 
      11-10-2006
hello:

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

thank you

 
Reply With Quote
 
 
 
 
Eric Sosman
Guest
Posts: n/a
 
      11-10-2006


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!

--
http://www.velocityreviews.com/forums/(E-Mail Removed)

 
Reply With Quote
 
 
 
 
Fred Kleinschmidt
Guest
Posts: n/a
 
      11-10-2006

"xandra" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) 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


 
Reply With Quote
 
Richard Heathfield
Guest
Posts: n/a
 
      11-10-2006
Fred Kleinschmidt said:

>
> "xandra" <(E-Mail Removed)> wrote in message
>

news:(E-Mail Removed) 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.
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Sorting list vs sorting vector boltar2003@boltar.world C++ 2 07-06-2010 09:40 AM
how many inversions???? xandra C++ 1 11-10-2006 09:32 PM
fired event Sorting which wasn't handled - sorting and SelectedIndexChanged Jason ASP .Net Web Controls 0 10-04-2006 02:19 PM
Mergesort and couting the amount of inversions Jochus C++ 1 10-30-2005 05:28 PM
OT: Number Nine, Number Nine, Number Nine FrisbeeŽ MCSE 37 09-26-2005 04:06 PM



Advertisments