Hackerrank Java Arraylist Solution
.MathJax_SVG_LineBox {display: table!important} .MathJax_SVG_LineBox span {display: table-cell!important; width: 10000em!important; min-width: 0; max-width: none; padding: 0; border: 0; margin: 0}
Sometimes it's better to use dynamic size arrays. Java's Arraylist can provide you this feature. Try to solve this problem