Amdocs Interview Question

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

Interview Answer

Anonymous

Jul 7, 2023

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