## Question 1 What will be the output after removing all adjacent duplicates from the string given below? string = "azxxzy" ### Options 1. azzy Incorrect ---------------------------- 2. axxy Incorrect ---------------------------- 3. ay Correct After removing adjacent duplicates "xx", and then "zz", the remaining string is "ay". ---------------------------- 4. " " Incorrect ---------------------------- --------------------------------------------- ## Question 2 What will be the output after removing all adjacent duplicates from the string given below? string = "abcde" ### Options 1. abcd Incorrect ---------------------------- 2. abcde Correct No adjacent duplicate is present in the string. ---------------------------- 3. " " Incorrect ---------------------------- 4. bcde Incorrect ---------------------------- --------------------------------------------- ## Question 3 What will be the output after removing all adjacent duplicates from the string given below? string = "aabbccdd" ### Options 1. " " Correct All adjacent duplicates, "aa", "bb", "cc", and "dd" will be removed. ---------------------------- 2. abcd Incorrect ---------------------------- 3. aabcdd Incorrect ---------------------------- 4. aabbccdd Incorrect ---------------------------- ---------------------------------------------