Driver code
public static void main ( String [ ] args ) { int N = 4 ; String target = "7531" ; ArrayList < String > blocked = new ArrayList < > ( Arrays . asList ( "1543" , "7434" , "7300" , "7321" , "2427" ) ) ; System . out . println ( minCircularRotations ( target , blocked , N ) ) ; } }