Amdocs interview question

Remove duplicates in a String and reverse words in a sentence.

Interview Answer

Anonymous

7 Jul 2023

Duplicates can be removed using sets DS and reverse word can be done using single loop to reverse words between spaces