package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/string-construction
 */
public class StringConstruction {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
    }
}

@@ -153,92 +153,360 @@
    p
-ublic static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);
+rivate static int stringConstruction(String str) %7B%0A        // TODO%0A        return 0;%0A    %7D%0A%0A    public static void main(String%5B%5D args) %7B%0A        Scanner in = new Scanner(System.in);%0A        int n = in.nextInt();%0A        for (int i = 0; i %3C n; i++) %7B%0A            String str = in.next();%0A            System.out.println(stringConstruction(str));%0A        %7D
 %0A   

Update String Construction