import java.util.*; public class Solution { ArrayList<String> res = new ArrayList<>(); public ArrayList<String> getSolution(int n) { // write code here process(n, "left", "mid", "right"); return res; } public void process(int n, Strin...