Tap here to switch tabs
Problem
Submissions

Problem: Integer to English Words

Integer to English Words converts a nonnegative integer into its standard English word representation, including the correct names for thousands, millions, and billions.

Statement

Given a nonnegative integer, num, convert it to its English word representation.

Constraints:

  • 0≤0 \le num ≤231−1\le 2^{31}-1

⋮
Tap here to switch tabs
Problem
Submissions

Problem: Integer to English Words

Integer to English Words converts a nonnegative integer into its standard English word representation, including the correct names for thousands, millions, and billions.

Statement

Given a nonnegative integer, num, convert it to its English word representation.

Constraints:

  • 0≤0 \le num ≤231−1\le 2^{31}-1