1698-partitioning-into-minimum-number-of-deci-binary-numbers

DevGod needs to write a blog entry for this problem!
/**
 * @param {string} n
 * @return {number}
 */
var minPartitions = function(n) {
    return Math.max( ...[...new Set(n)].map( (el)=>parseInt(el)) );
};