Ink & Switch published bijou64, a variable-length integer encoding where every number has exactly one byte representation, ...
// Given a string s consisting of distinct lowercase characters, determine its rank among all its permutations when those are arranged in lexicographically sorted order. // Note: The rank of a string ...