Two line JS Solution


#1

const ans = A.sort((a,b)=>${a}${b} > ${b}${a} ? 1 : -1).reverse().join("")
return ans[0] == 0 ? “0” : ans;


#2

wow this is amazing, such simple implementation