Efficient C # program to find maximum number of characters between two occurrences of same character
using System ; public class GFG { static int MAX_CHAR = 256 ; static int maximumChars ( string str ) { int n = str . Length ; int res = - 1 ;