Question d’entretien chez H E B

Given an integer from 1 - 12 trillion, write a function that translates that integer into its English string. For example, 1 would return "one". 586 would return five hundred and eighty six.

Réponse à la question d'entretien

Utilisateur anonyme

27 févr. 2020

Iterated through cases 1-20, then 1-99, then 1-infinity. This is considered a "hard" question on Leetcode. You can do an online search for the solution.

1