Category : anagram

/this code compares 1st letter of first word with each letter of 2nd word and moves to 2nd letter of 1st word and next letter of 2nd word when both letter matches else pushes the letters of 2nd word to stack. Then each letter of 1st word is compared with elements of stack and popped ..

Read more

i need to make a anagram finder. the user enters a word and the system must find all the word that are anagrams of that word from the vector<string>words and must print each and everyone. Here is my code but it the code doesn’t run at all it just exits/ gives compiling error. #include <iostream> ..

Read more