You are viewing a single comment's thread. Return to all comments →
Java Solution
public static int designerPdfViewer(List<Integer> h, String word) { char[] chars=word.toCharArray(); int max=0; for (char aChar : chars) { int temp = h.get((aChar - 97)); max = Math.max(temp, max); } return chars.length * max; }
Seems like cookies are disabled on this browser, please enable them to open this website
Designer PDF Viewer
You are viewing a single comment's thread. Return to all comments →
Java Solution