From 7ed212ce274c367f49952ef40e6c14196b8e816b Mon Sep 17 00:00:00 2001 From: Ivan Reshetnikov Date: Sat, 31 Dec 2022 12:03:24 +0500 Subject: [PATCH] Add zeros to problem numbers to fix sorting --- problems/{1-two-sum => 0001-two-sum}/main.rb | 0 problems/{1-two-sum => 0001-two-sum}/readme.md | 0 problems/{1-two-sum => 0001-two-sum}/test.rb | 0 problems/{2-add-two-numbers => 0002-add-two-numbers}/main.rb | 0 problems/{2-add-two-numbers => 0002-add-two-numbers}/readme.md | 0 problems/{2-add-two-numbers => 0002-add-two-numbers}/test.rb | 0 problems/{2-add-two-numbers => 0002-add-two-numbers}/types.rb | 0 problems/{3-longest-substring => 0003-longest-substring}/main.rb | 0 problems/{3-longest-substring => 0003-longest-substring}/test.rb | 0 problems/{8-string-to-integer => 0008-string-to-integer}/main.rb | 0 problems/{8-string-to-integer => 0008-string-to-integer}/test.rb | 0 problems/{9-palindrome-number => 0009-palindrome-number}/main.rb | 0 problems/{9-palindrome-number => 0009-palindrome-number}/test.rb | 0 problems/{12-integer-to-roman => 0012-integer-to-roman}/main.rb | 0 problems/{12-integer-to-roman => 0012-integer-to-roman}/test.rb | 0 .../main.rb | 0 .../test.rb | 0 .../main.rb | 0 .../readme.md | 0 .../test.rb | 0 problems/{36-valid-sudoku => 0036-valid-sudoku}/main.rb | 0 problems/{36-valid-sudoku => 0036-valid-sudoku}/test.rb | 0 problems/{37-sudoku-solver => 0037-sudoku-solver}/main.rb | 0 problems/{37-sudoku-solver => 0037-sudoku-solver}/test.rb | 0 .../file.txt | 0 .../{193-valid-phone-numbers => 0193-valid-phone-numbers}/main.sh | 0 .../readme.md | 0 problems/{223-rectangle-area => 0223-rectangle-area}/main.rb | 0 problems/{223-rectangle-area => 0223-rectangle-area}/readme.md | 0 problems/{223-rectangle-area => 0223-rectangle-area}/test.rb | 0 30 files changed, 0 insertions(+), 0 deletions(-) rename problems/{1-two-sum => 0001-two-sum}/main.rb (100%) rename problems/{1-two-sum => 0001-two-sum}/readme.md (100%) rename problems/{1-two-sum => 0001-two-sum}/test.rb (100%) rename problems/{2-add-two-numbers => 0002-add-two-numbers}/main.rb (100%) rename problems/{2-add-two-numbers => 0002-add-two-numbers}/readme.md (100%) rename problems/{2-add-two-numbers => 0002-add-two-numbers}/test.rb (100%) rename problems/{2-add-two-numbers => 0002-add-two-numbers}/types.rb (100%) rename problems/{3-longest-substring => 0003-longest-substring}/main.rb (100%) rename problems/{3-longest-substring => 0003-longest-substring}/test.rb (100%) rename problems/{8-string-to-integer => 0008-string-to-integer}/main.rb (100%) rename problems/{8-string-to-integer => 0008-string-to-integer}/test.rb (100%) rename problems/{9-palindrome-number => 0009-palindrome-number}/main.rb (100%) rename problems/{9-palindrome-number => 0009-palindrome-number}/test.rb (100%) rename problems/{12-integer-to-roman => 0012-integer-to-roman}/main.rb (100%) rename problems/{12-integer-to-roman => 0012-integer-to-roman}/test.rb (100%) rename problems/{14-longest-common-prefix => 0014-longest-common-prefix}/main.rb (100%) rename problems/{14-longest-common-prefix => 0014-longest-common-prefix}/test.rb (100%) rename problems/{22-generate-parentheses => 0022-generate-parentheses}/main.rb (100%) rename problems/{22-generate-parentheses => 0022-generate-parentheses}/readme.md (100%) rename problems/{22-generate-parentheses => 0022-generate-parentheses}/test.rb (100%) rename problems/{36-valid-sudoku => 0036-valid-sudoku}/main.rb (100%) rename problems/{36-valid-sudoku => 0036-valid-sudoku}/test.rb (100%) rename problems/{37-sudoku-solver => 0037-sudoku-solver}/main.rb (100%) rename problems/{37-sudoku-solver => 0037-sudoku-solver}/test.rb (100%) rename problems/{193-valid-phone-numbers => 0193-valid-phone-numbers}/file.txt (100%) rename problems/{193-valid-phone-numbers => 0193-valid-phone-numbers}/main.sh (100%) rename problems/{193-valid-phone-numbers => 0193-valid-phone-numbers}/readme.md (100%) rename problems/{223-rectangle-area => 0223-rectangle-area}/main.rb (100%) rename problems/{223-rectangle-area => 0223-rectangle-area}/readme.md (100%) rename problems/{223-rectangle-area => 0223-rectangle-area}/test.rb (100%) diff --git a/problems/1-two-sum/main.rb b/problems/0001-two-sum/main.rb similarity index 100% rename from problems/1-two-sum/main.rb rename to problems/0001-two-sum/main.rb diff --git a/problems/1-two-sum/readme.md b/problems/0001-two-sum/readme.md similarity index 100% rename from problems/1-two-sum/readme.md rename to problems/0001-two-sum/readme.md diff --git a/problems/1-two-sum/test.rb b/problems/0001-two-sum/test.rb similarity index 100% rename from problems/1-two-sum/test.rb rename to problems/0001-two-sum/test.rb diff --git a/problems/2-add-two-numbers/main.rb b/problems/0002-add-two-numbers/main.rb similarity index 100% rename from problems/2-add-two-numbers/main.rb rename to problems/0002-add-two-numbers/main.rb diff --git a/problems/2-add-two-numbers/readme.md b/problems/0002-add-two-numbers/readme.md similarity index 100% rename from problems/2-add-two-numbers/readme.md rename to problems/0002-add-two-numbers/readme.md diff --git a/problems/2-add-two-numbers/test.rb b/problems/0002-add-two-numbers/test.rb similarity index 100% rename from problems/2-add-two-numbers/test.rb rename to problems/0002-add-two-numbers/test.rb diff --git a/problems/2-add-two-numbers/types.rb b/problems/0002-add-two-numbers/types.rb similarity index 100% rename from problems/2-add-two-numbers/types.rb rename to problems/0002-add-two-numbers/types.rb diff --git a/problems/3-longest-substring/main.rb b/problems/0003-longest-substring/main.rb similarity index 100% rename from problems/3-longest-substring/main.rb rename to problems/0003-longest-substring/main.rb diff --git a/problems/3-longest-substring/test.rb b/problems/0003-longest-substring/test.rb similarity index 100% rename from problems/3-longest-substring/test.rb rename to problems/0003-longest-substring/test.rb diff --git a/problems/8-string-to-integer/main.rb b/problems/0008-string-to-integer/main.rb similarity index 100% rename from problems/8-string-to-integer/main.rb rename to problems/0008-string-to-integer/main.rb diff --git a/problems/8-string-to-integer/test.rb b/problems/0008-string-to-integer/test.rb similarity index 100% rename from problems/8-string-to-integer/test.rb rename to problems/0008-string-to-integer/test.rb diff --git a/problems/9-palindrome-number/main.rb b/problems/0009-palindrome-number/main.rb similarity index 100% rename from problems/9-palindrome-number/main.rb rename to problems/0009-palindrome-number/main.rb diff --git a/problems/9-palindrome-number/test.rb b/problems/0009-palindrome-number/test.rb similarity index 100% rename from problems/9-palindrome-number/test.rb rename to problems/0009-palindrome-number/test.rb diff --git a/problems/12-integer-to-roman/main.rb b/problems/0012-integer-to-roman/main.rb similarity index 100% rename from problems/12-integer-to-roman/main.rb rename to problems/0012-integer-to-roman/main.rb diff --git a/problems/12-integer-to-roman/test.rb b/problems/0012-integer-to-roman/test.rb similarity index 100% rename from problems/12-integer-to-roman/test.rb rename to problems/0012-integer-to-roman/test.rb diff --git a/problems/14-longest-common-prefix/main.rb b/problems/0014-longest-common-prefix/main.rb similarity index 100% rename from problems/14-longest-common-prefix/main.rb rename to problems/0014-longest-common-prefix/main.rb diff --git a/problems/14-longest-common-prefix/test.rb b/problems/0014-longest-common-prefix/test.rb similarity index 100% rename from problems/14-longest-common-prefix/test.rb rename to problems/0014-longest-common-prefix/test.rb diff --git a/problems/22-generate-parentheses/main.rb b/problems/0022-generate-parentheses/main.rb similarity index 100% rename from problems/22-generate-parentheses/main.rb rename to problems/0022-generate-parentheses/main.rb diff --git a/problems/22-generate-parentheses/readme.md b/problems/0022-generate-parentheses/readme.md similarity index 100% rename from problems/22-generate-parentheses/readme.md rename to problems/0022-generate-parentheses/readme.md diff --git a/problems/22-generate-parentheses/test.rb b/problems/0022-generate-parentheses/test.rb similarity index 100% rename from problems/22-generate-parentheses/test.rb rename to problems/0022-generate-parentheses/test.rb diff --git a/problems/36-valid-sudoku/main.rb b/problems/0036-valid-sudoku/main.rb similarity index 100% rename from problems/36-valid-sudoku/main.rb rename to problems/0036-valid-sudoku/main.rb diff --git a/problems/36-valid-sudoku/test.rb b/problems/0036-valid-sudoku/test.rb similarity index 100% rename from problems/36-valid-sudoku/test.rb rename to problems/0036-valid-sudoku/test.rb diff --git a/problems/37-sudoku-solver/main.rb b/problems/0037-sudoku-solver/main.rb similarity index 100% rename from problems/37-sudoku-solver/main.rb rename to problems/0037-sudoku-solver/main.rb diff --git a/problems/37-sudoku-solver/test.rb b/problems/0037-sudoku-solver/test.rb similarity index 100% rename from problems/37-sudoku-solver/test.rb rename to problems/0037-sudoku-solver/test.rb diff --git a/problems/193-valid-phone-numbers/file.txt b/problems/0193-valid-phone-numbers/file.txt similarity index 100% rename from problems/193-valid-phone-numbers/file.txt rename to problems/0193-valid-phone-numbers/file.txt diff --git a/problems/193-valid-phone-numbers/main.sh b/problems/0193-valid-phone-numbers/main.sh similarity index 100% rename from problems/193-valid-phone-numbers/main.sh rename to problems/0193-valid-phone-numbers/main.sh diff --git a/problems/193-valid-phone-numbers/readme.md b/problems/0193-valid-phone-numbers/readme.md similarity index 100% rename from problems/193-valid-phone-numbers/readme.md rename to problems/0193-valid-phone-numbers/readme.md diff --git a/problems/223-rectangle-area/main.rb b/problems/0223-rectangle-area/main.rb similarity index 100% rename from problems/223-rectangle-area/main.rb rename to problems/0223-rectangle-area/main.rb diff --git a/problems/223-rectangle-area/readme.md b/problems/0223-rectangle-area/readme.md similarity index 100% rename from problems/223-rectangle-area/readme.md rename to problems/0223-rectangle-area/readme.md diff --git a/problems/223-rectangle-area/test.rb b/problems/0223-rectangle-area/test.rb similarity index 100% rename from problems/223-rectangle-area/test.rb rename to problems/0223-rectangle-area/test.rb