You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This discussion was converted from issue #5 on September 15, 2026 10:57.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Problem link
https://leetcode.com/problems/valid-number/
Problem Summary
문자열이 valid 한 수인지 판단하는 문제.
Solution
딱 보니 정규식으로 풀린다...
https://regex101.com/
디버깅 시 위 사이트를 이용함.
문제에 나온 그대로 정규식으로 만들어주면 된다.
Source Code
All reactions