Java program to print all the strings that match the given pattern where every character in the pattern is uniquely mapped to a character in the dictionary
import java . io . * ; import java . util . * ; class GFG {