/* * Hi, here's your problem today. This problem was recently asked by Apple: * * Given a list of strings, find the list of characters that appear in all strings. * * Here's an example and some starter code: * * def common_characters(strs): # Fill this in. # # print(common_characters(['google', 'facebook', 'youtube'])) # ['e', 'o'] */ public InOut(string s, string s2) : base(Helfer.AssembleString(s), Helfer.AssembleChar(s2), true) { AddSolver(Find_Common_Characters); }
public InOut(string arr, string prefix) : base(Helfer.AssembleString(arr), prefix) { AddSolver(Get_Longest_Common_Prefix); HasMaxDur = false; }