← all problems

capitalizeAll

Given an ArrayList<String> of words, return a new ArrayList<String> containing each word converted to uppercase, in the same order. capitalizeAll(["cat","dog"]) returns ["CAT","DOG"].