Monday, December 26, 2005

A small assignment.

Now I am blogging at
http://chavakiran.com
Here is a small assignment .

1. We have two files.
2. Lets call them file_one and file_two
3. The task is to reverse any triplet (three words in sequence) of file One which is also found in file two in file two.
4. That means if "I love you" comes in both file one and file two then reverse it in file two and write it as "you love I".
5. Another condition is Once reversed a triplet, all the words in it will be locked and they won't be changed again irrespective of what ever the case is. So these three word can not be changed again though they may be part of something else.

Designed with the view of graduates who just completed a program on Data Structures.

1 Comments:

Blogger Hari Mallepally said...

I like tech blogs. yours is cool one kiran.

I do have couple of them.

tech-torch.blogspot.com/
http://security-goal.blogspot.com/

March 28, 2006 6:03 PM  

Post a Comment

<< Home