Exercise 10: Parsing numbers

Summary

This exercise involves introducing yet another transformation type, the numeric transformation, which allows numbers to be added or multiplied. It is to be used to allow numbers, written in long form, to be parsed into their representative integers.

For example, "one thousand one hundred and eleven" is parsed to become 1111.

See this post for more details.

Test cases

Click here

Solution

Click here

Web UI

Click here