We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Super Digit
Super Digit
Sort by
recency
|
45 Discussions
|
Please Login in order to post a comment
I tried doing this with common-lisp and realised there no string spliting function in standard lib lol.
JS
java solution
public static int super_Digit(String str, int k) { int num = Integer.parseInt(str);
Python 3 solution... Needed a bit of an optimization to avoid memory issue (e.g. the initial_super_digit calculation).