Computer Science, asked by pinkypriya180, 6 months ago

Du must remove characters until the string is made up of any two alternating characters. When you choose a character
stes of that character must be removed. Write a function to output the longest string possible that contains just two
was auro, consider the string 'obaocdabd" tf you delete the character'a', you will be left with the string bcdbd. Now, removing the character
sweeth valid string "dod' having a length of 4. Removing either 'b' or 'd' at any point would not result in a valid string. Return 0 if no
ests
L. Code
Aeratingstringint length, strings) {​

Answers

Answered by lakshita85
0

Answer:

  1. nooooooo9oooooooooooooooooooookooo9okkkkkkkkkkkkkkk
  2. ooooooooo
Answered by jagadeeshchandrabose
0

Explanation:

But what is the question

Similar questions