Skip to content

[Reverse-String]: Update to configs to Ensure Author Credit #3869

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

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
16 changes: 8 additions & 8 deletions exercises/practice/reverse-string/.approaches/config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"introduction": {
"authors": ["BethanyG", "colinleach"],
"authors": ["bethanyg", "colinleach"],
"contributors": []
},
"approaches": [
Expand All @@ -9,49 +9,49 @@
"slug": "sequence-slicing",
"title": "Sequence Slicing",
"blurb": "Use a slice with a negative step to reverse the string.",
"authors": ["BethanyG"]
"authors": ["bethanyg"]
},
{
"uuid": "cbe2766f-e02f-4160-8227-eead7b4ca9fb",
"slug": "iteration-and-concatenation",
"title": "Iteration and Concatenation",
"blurb": "Iterate through the codepoints and concatenate them to a new string.",
"authors": ["BethanyG"]
"authors": ["bethanyg"]
},
{
"uuid": "894b1c9b-e256-471e-96f6-02453476ccc4",
"slug": "backward-iteration-with-range",
"title": "Backward iteration with Range",
"blurb": "Use a negative step with range() to iterate backward and append to a new string.",
"authors": ["BethanyG"]
"authors": ["bethanyg"]
},
{
"uuid": "722e8d0e-a8d1-49a7-9b6f-38da0f7380e6",
"slug": "list-and-join",
"title": "Make a list and use join()",
"blurb": "Create a list from the string and use join to make a new string.",
"authors": ["BethanyG"]
"authors": ["bethanyg"]
},
{
"uuid": "b2c8e7fa-8265-4221-b0be-c1cd13166925",
"slug": "built-in-list-reverse",
"title": "Use the built-in list.reverse() function.",
"blurb": "Create a list of codepoints, use list.reverse() to reverse in place, and join() to make a new string.",
"authors": ["BethanyG"]
"authors": ["bethanyg"]
},
{
"uuid": "cbb4411a-4652-45d7-b73c-ca116ccd4f02",
"slug": "built-in-reversed",
"title": "Use the built-in reversed() function.",
"blurb": "Use reversed() and unpack it with join() to make a new string.",
"authors": ["BethanyG"]
"authors": ["bethanyg"]
},
{
"uuid": "1267e48f-edda-44a7-a441-a36155a8fba2",
"slug": "additional-approaches",
"title": "Additional approaches that are further afield",
"blurb": "Additional interesting approaches.",
"authors": ["BethanyG"]
"authors": ["bethanyg"]
}
]
}
2 changes: 1 addition & 1 deletion exercises/practice/reverse-string/.articles/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"slug": "performance",
"title": "Performance deep dive",
"blurb": "Deep dive to find out the most performant approach for reversing a string.",
"authors": ["BethanyG"]
"authors": ["bethanyg", "colinleach"]
}
]
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"""Script for timing Reverse String Solutions.

Creates timing table and timing graphs for
multiple approaches to reversing a stirng in Python.
multiple approaches to reversing a string in Python.
Adapted from code written by colinleach.

Created Jan 2024
@author: bethanygarcia
Expand Down
Loading