Valid number
Return whether a string is a valid number: an integer or decimal with an optional sign, optionally followed by an exponent (e or E and an integer). Spell out the rules first, then implement them cleanly.
No answer yet. Write the first one; the best answer gets endorsed.
