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.
OMG, my first solution was ridiculous! :-D
I used one additional array to store BigDecimals and a map to store BigDecimals as keys and lists of strings as values.
It worked, but solution with comparator is great!
Java BigDecimal
You are viewing a single comment's thread. Return to all comments →
OMG, my first solution was ridiculous! :-D I used one additional array to store BigDecimals and a map to store BigDecimals as keys and lists of strings as values. It worked, but solution with comparator is great!