1. 4
  1.  

  2. 1

    if you’re interested in this sort of program, check out the GADDAG, an optimised data structure for scrabble move generation. this is a good write up