Given a List of words, return the words that can be typed using letters of alphabet on only one row's of American keyboard like the image below. Example 1: Input: ["Hello", "Alaska", "Dad", "Peace"] Output: ["A…
public class Solution { public string[] FindWords(string[] words) { var list1 = new List<char>(); var list2 = new List<char>(); var list3 = new List<char>(); list1.Add('Q'); list1.Add('W'); list1.Add('E'); list1.Add('R'); list1.Add('T');…