Available question text
Determine whether a given string matches the grammar of a numeric literal: an optional sign, then either an integer or a decimal (allowing formats like "123", "123.", ".123", or "123.456"), optionally followed by an exponent part "e" or "E" with an optional sign and digits. Handle edge cases such as lone dots, missing digits around the decimal or exponent, and invalid characters.
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 2 records
LinkedIn
Leetcode 65. Valid Number
Reported Sep 25, 2025 · 2 source reports
SENIOR
Source snapshot: Nov 12, 2026
View sourceMeta
Leetcode 65. Valid Number
Reported Feb 12, 2026 · 16 source reports
MANAGER, MID_LEVEL, SENIOR, STAFF
Source snapshot: Nov 12, 2026
View source