C # program to find minimum operation require to make first and last character same
using System ; using System . Collections . Generic ; class GFG { static int MAX = Int32 . MaxValue ; static Dictionary < string , int > m = new Dictionary < string , int > ( ) ; static int Min = Int32 . MaxValue ;