Java program to find minimum operation require to make first and last character same
import java . io . * ; import java . util . * ; class GFG { static int MAX = Integer . MAX_VALUE ; static HashMap < String , Integer > m = new HashMap < > ( ) ; static int Min = Integer . MAX_VALUE ;