Pergunta de entrevista da empresa Verisk

Create a sort function based on a custom alphabet.

Resposta da entrevista

Sigiloso

21 de jul. de 2023

Regular alphabetical sorts are just numeric sorts based on the numeric values of the letters (e.g. a = 1, d =4), simply reassign the letters' numbers based on the order of the custom alphabet.