solver.js
/*
		Only util functions beneath this line
	*/
Only util functions beneath this line
Only util functions beneath this line
function canonicalVersion(str) {
		let chars = str.split('')
		let sorted = chars.sort()
		return sorted.join('')
	}
function canonicalVersion ( str ) { let chars = str . split ( '' ) let sorted = chars . sort ( ) return sorted . join ( '' ) }
Only util functions beneath this line
Only util functions beneath this line