String[] strands
String n
String
String max(String[] strands, String n)(be sure your method is public)
strands will contain no more than 50 elements, each
element will be a different length and the characters of the
the strings will only be 'a', 'g', 't', or 'c'.
n will be a one character string, either "a", "g",
"t", or "c".
strands = {"agt", "aagt", "taattt", "ccatg" }
n = "a"
Returns: "taattt" since both "aagt" and "taattt" have two occurrences
of 'a', but "taattt" is longer.
strands = {"agt", "aagt", "taattt", "ccatc" }
n = "g"
Returns: "aagt" since both "aagt" and "agt" have one occurrence
of 'g', but "aagt" is longer.