Driver program to test to pront printDups
public static void main ( String args [ ] ) { String arr [ ] = { " geeksquiz " , " geeksforgeeks " , " abcd " , " forgeeksgeeks " , " zuiqkeegs " } ; int n = arr . length ; findAllAnagrams ( arr , n ) ; } }