Maam why output is not coming
here is my code
Maam why output is not coming
here is my code
Sort the array to maintain the order of the provided answer and to remove duplicates i have checked the previous element as duplicacy will be because of the similar characters.
see this