minimalMoves() public method

public minimalMoves ( string S ) : int
S string
return int
Example #1
0
        static void Main(string[] args)
        {
            MagicalStringDiv2 x = new MagicalStringDiv2();

            Console.WriteLine(x.minimalMoves(">><<><"));
            Console.ReadLine();
        }
Example #2
0
 static void Main(string[] args)
 {
     MagicalStringDiv2 x = new MagicalStringDiv2();
     Console.WriteLine(x.minimalMoves(">><<><"));
     Console.ReadLine();
 }