text: Function to find the minimum operations required to get the given string after appending m or n characters from the end to the front of the string in each operation
code: static void minimumOperations ( String orig_str , int m , int n ) {