public class Solution { public List generatePossibleNextMoves(String s) { List result = new ArrayList<>(); for(int i=1; i