The program for the problem wordakshari is discussed here.
DESCRIPTION:
Antakshari is a popular parlour game played in India. Many word games are similar to Antakshari. One such game is Wordakshari. The game can be played by two or more people. The first player has to recite a word. The last letter of the word is then used by the next player to recite another word, starting with that word. The winner or winning team is decided by a process of elimination. The person or team that cannot come up with a word with the right consonant is eliminated.
The following rules need to be followed while playing this game.
(i) The first word can begin with any letter.
(ii) All other words have to begin with the last letter of the previous word
(iii) No words can be repeated.
Input and Output Format :
Sample Input:
architect
tailor
referee
electrician
nurse
blacksmith
####
Sample Output:
architect
tailor
referee
electrician
nurse
@@coding::1@@