using System.Collections.Generic;
public static void Main()
int[] freq = new int[26];
for (int i = 0; i < s.Length; i++)
StringBuilder sb = new StringBuilder(s);
for (int i = 0; i < sb.Length - 1; i++) {
if (sb[i] == sb[i + 1]) {
sb.Append("Empty String");