Driver Code
public static void Main ( String [ ] args ) { Console . WriteLine ( runCustomerSimulation ( 2 , " ABBAJJKZKZ " . ToCharArray ( ) ) ) ; Console . WriteLine ( runCustomerSimulation ( 3 , " GACCBDDBAGEE " . ToCharArray ( ) ) ) ; Console . WriteLine ( runCustomerSimulation ( 3 , " GACCBGDDBAEE " . ToCharArray ( ) ) ) ; Console . WriteLine ( runCustomerSimulation ( 1 , " ABCBCA " . ToCharArray ( ) ) ) ; Console . WriteLine ( runCustomerSimulation ( 1 , " ABCBCADEED " . ToCharArray ( ) ) ) ; } }