Two characters hackerrank solution java. Given a string, find the longest string that can be formed using only 2 ...