Driver code
var arr = [ " " , " " , " " , " " , " " ] ; var n = arr . length ; document . write ( largestAnagramSet ( arr , n ) + " " ) ; var arr1 = [ " " , " " , " " , " " ] ; n = arr1 . length ; document . write ( largestAnagramSet ( arr1 , n ) ) ;