← ALL NOTES
String

65. Valid Number

This is a parsing slog with a swarm of edge cases, and the approach is to validate each character against local rules while carrying a few counters (sign, e, dot, digit). A dot is legal only in the…

Loading…