Re: Wanted some practical problems to solve in data structures



On Nov 18, 8:47 am, sweety_s <gayatri.neel...@xxxxxxxxx> wrote:
Hi,

I am interested in DS, but wanted some real application problems so
that i can improve my concepts regarding this subject

here's one I've been puzzling with lately.

Consider a body of text - structured text in particular. I'm using
Shakespeare's thirty-six plays. Easily avail online.

Numerous speakers have lines in the plays. How many speeches by each?
How many lines spoken by each?

Now consider the words. What are "the" most common words? What words
are unique?

Practical, you asked? Well maybe not. But it's fun

John
.



Relevant Pages

  • Re: Yuja Wang debut on DG
    ...  Even if you feel that he plays it ALOT better, ... fun out of the music and this music was made for fun. ... I don't think he lacks talent or ... or that he lose his child-like qualities. ...
    (rec.music.classical.recordings)
  • Re: Extremely Basic Omaha8 Question
    ... >> in all does not mean much, but if I were losiing I would probably read ... > Position, and how passive/agressive the table is plays a part, but ... > will win/lose. ... >>> if just having fun is your main goal. ...
    (rec.gambling.poker)
  • Re: Food for thought (new thread)
    ... Fun, isn't it. ... Trying to get a sensible discussion going with a brick. ... then plays them. ... A few weeks or months - another fish. ...
    (rec.skiing.alpine)
  • Re: Anyone own a pitch and bat are they fun?
    ... Really fun 2 player game..not nearly as fun ... plays at when we have a party...Chexx hockey usually gets the most. ... Slugfest lets you select different pitches, steal bases, and compete ...
    (rec.games.pinball)
  • Re: My first chess program.
    ... programmer, this was done for fun, and as a learning exercise. ... plays very very poorly, but it does conform to all the rules of chess, ...
    (rec.games.chess.computer)