Last active
April 28, 2025 02:04
-
-
Save preyes323/1d41a714a0bdc7a708a778ed16492921 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DIGITS = { | |
'0' => 0, '1' => 1, '2' => 2, '3' => 3, '4' => 4, | |
'5' => 5, '6' => 6, '7' => 7, '8' => 8, '9' => 9 | |
} | |
def string_to_integer(string) | |
# todo | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment