Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Roman Numerals] Draft of Approaches #3605

Merged
merged 19 commits into from
Jan 31, 2024
Merged
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
70206de
[Roman Numerals] early draft of approaches
colinleach Jan 25, 2024
30020f5
updated approach documents, many changes
colinleach Jan 27, 2024
1a1605d
fixed typos and other glitches
colinleach Jan 28, 2024
b4324cd
Update exercises/practice/roman-numerals/.approaches/introduction.md
colinleach Jan 30, 2024
fc8a15f
Update exercises/practice/roman-numerals/.approaches/introduction.md
colinleach Jan 30, 2024
959dafb
Update exercises/practice/roman-numerals/.approaches/introduction.md
colinleach Jan 30, 2024
610da40
Update exercises/practice/roman-numerals/.approaches/introduction.md
colinleach Jan 30, 2024
c04a47f
Update exercises/practice/roman-numerals/.approaches/introduction.md
colinleach Jan 30, 2024
989ddb0
Update exercises/practice/roman-numerals/.approaches/introduction.md
colinleach Jan 30, 2024
bcd408b
Update exercises/practice/roman-numerals/.approaches/recurse-match/co…
colinleach Jan 30, 2024
cd70e57
Update exercises/practice/roman-numerals/.approaches/introduction.md
colinleach Jan 30, 2024
26235f3
Update exercises/practice/roman-numerals/.approaches/recurse-match/co…
colinleach Jan 30, 2024
adb5312
Update exercises/practice/roman-numerals/.approaches/recurse-match/co…
colinleach Jan 30, 2024
d8d83ae
Fixed TODO in `itertools-starmap`
colinleach Jan 30, 2024
d128392
Merge branch 'approach-roman-numerals' of github.com:colinleach/pytho…
colinleach Jan 30, 2024
1fab95c
Update content.md
colinleach Jan 30, 2024
0e5d1a3
Update content.md again
colinleach Jan 30, 2024
8872373
Update exercises/practice/roman-numerals/.approaches/itertools-starma…
BethanyG Jan 31, 2024
8ff7417
Update exercises/practice/roman-numerals/.approaches/itertools-starma…
BethanyG Jan 31, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update exercises/practice/roman-numerals/.approaches/introduction.md
Co-authored-by: BethanyG <BethanyG@users.noreply.github.com>
  • Loading branch information
colinleach and BethanyG authored Jan 30, 2024
commit 610da4023d3f897a1f5b40c86337ec08da70ac62
6 changes: 3 additions & 3 deletions exercises/practice/roman-numerals/.approaches/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ The approaches to this exercise break down into two groups, with many variants i
## Digit-by-digit approaches

The concept behind this class of approaches:
- Split the input number into decimal digits.
- For each digit, get the Roman equivalent and append to a list.
- Join the list into a string and return it.
1. Split the input number into decimal digits.
2. For each digit, get the Roman equivalent and append to a list.
3. Join the list into a string and return it.
Depending on the implementation, there may need to be a list-reverse step.

### With `if` conditions
Expand Down
Loading