rite a function: class Solution { public String solution(String S, String T); } that, given two strings Sand T consisting of N and Mcharacters, respectively, determines whether string T can be obtained from string Sby at most one simple operation from the set specified below. The function should return a string:
"ADD c" if string T can be obtained from string Sby inserting a single character "c" at the end of the string