package hackerrank;

import java.util.Scanner;

/**
 * https://www.hackerrank.com/challenges/maximum-perimeter-triangle
 */
public class MaximumPerimeterTriangle {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        // TODO
    }
}

@@ -157,16 +157,99 @@
 angle %7B%0A
+    private static void maxPerimeterTriangle(int%5B%5D array) %7B%0A        // TODO%0A    %7D%0A%0A
     publ
@@ -334,28 +334,198 @@
 n);%0A        
-// TODO
+int n = in.nextInt();%0A        int%5B%5D array = new int%5Bn%5D;%0A        for (int i = 0; i %3C n; i++) %7B%0A            array%5Bi%5D = in.nextInt();%0A        %7D%0A        maxPerimeterTriangle(array);
 %0A    %7D%0A%7D%0A

Update Maximum Perimeter Triangle