• + 0 comments

    no need check ord(s[i]) < ord(s[j]), just s[i] < s[j] is enough.