package hackerrank;

/**
 * https://www.hackerrank.com/challenges/richie-rich
 */
public class RichieRich {
    public static void main(String[] args) {

    }
}

@@ -14,16 +14,43 @@
 rrank;%0A%0A
+import java.util.Scanner;%0A%0A
 /**%0A * h
@@ -137,48 +137,342 @@
    p
-ublic static void main(String%5B%5D args) %7B%0A
+rivate static int largestPalindrome(String number) %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        int k = in.nextInt();%0A        String number = in.next();%0A        System.out.println(largestPalindrome(number));
 %0A   

Update Richie Rich