Write a program that reads N phrases and determines if one
phrase is a
permutation of the other. For example: Phrase 1 is: “One
World One Dream” Phrase 2 is: “World
One One Dream”. Then the output should say that phrase 1 is
permutation of phrase 2. Note that
spaces/tabs are not counted as characters.
Sample Input:
3
One World One Dream
World One One Dream
No World No Dream
Sample Output:
Phrase 1 is permutation of Phrase 2


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More ICET Interview Questions

who is the first gold medlist in olympic

1 Answers  


lay up term use in which game

2 Answers  


please send fully solved question of ssc combined graduate level exam of year 2002 to 2009

0 Answers  


What is the Lichen used in the treatment of heart diseases?

1 Answers  


who is the prime minister of india

1 Answers  






Discuss briefly the causes and consequences of ‘inflation’ in an economy like India.

0 Answers  


Theory of Retrogresive evolution in Bryophyta was proposed by which scientist?

1 Answers  


How can a man go eight days without sleep?

1 Answers  


What is exception Handling php and javascript

0 Answers  


who had an explosive idea and first patented dynamite?

0 Answers  


Flavoring agent Vanilla belongs to which family

1 Answers  


Can any body tel me how 2 get latest dates of competitive examz on my email id??? Plz tel me d site on sameera.1514@rediffmail.com Thnx!!

0 Answers  


Categories