Skip to content

Commit 97d715e

Browse files
authored
Update to configs to ensure author credit. (#3869)
1 parent 9374430 commit 97d715e

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed
Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"introduction": {
3-
"authors": ["BethanyG", "colinleach"],
3+
"authors": ["bethanyg", "colinleach"],
44
"contributors": []
55
},
66
"approaches": [
@@ -9,49 +9,49 @@
99
"slug": "sequence-slicing",
1010
"title": "Sequence Slicing",
1111
"blurb": "Use a slice with a negative step to reverse the string.",
12-
"authors": ["BethanyG"]
12+
"authors": ["bethanyg"]
1313
},
1414
{
1515
"uuid": "cbe2766f-e02f-4160-8227-eead7b4ca9fb",
1616
"slug": "iteration-and-concatenation",
1717
"title": "Iteration and Concatenation",
1818
"blurb": "Iterate through the codepoints and concatenate them to a new string.",
19-
"authors": ["BethanyG"]
19+
"authors": ["bethanyg"]
2020
},
2121
{
2222
"uuid": "894b1c9b-e256-471e-96f6-02453476ccc4",
2323
"slug": "backward-iteration-with-range",
2424
"title": "Backward iteration with Range",
2525
"blurb": "Use a negative step with range() to iterate backward and append to a new string.",
26-
"authors": ["BethanyG"]
26+
"authors": ["bethanyg"]
2727
},
2828
{
2929
"uuid": "722e8d0e-a8d1-49a7-9b6f-38da0f7380e6",
3030
"slug": "list-and-join",
3131
"title": "Make a list and use join()",
3232
"blurb": "Create a list from the string and use join to make a new string.",
33-
"authors": ["BethanyG"]
33+
"authors": ["bethanyg"]
3434
},
3535
{
3636
"uuid": "b2c8e7fa-8265-4221-b0be-c1cd13166925",
3737
"slug": "built-in-list-reverse",
3838
"title": "Use the built-in list.reverse() function.",
3939
"blurb": "Create a list of codepoints, use list.reverse() to reverse in place, and join() to make a new string.",
40-
"authors": ["BethanyG"]
40+
"authors": ["bethanyg"]
4141
},
4242
{
4343
"uuid": "cbb4411a-4652-45d7-b73c-ca116ccd4f02",
4444
"slug": "built-in-reversed",
4545
"title": "Use the built-in reversed() function.",
4646
"blurb": "Use reversed() and unpack it with join() to make a new string.",
47-
"authors": ["BethanyG"]
47+
"authors": ["bethanyg"]
4848
},
4949
{
5050
"uuid": "1267e48f-edda-44a7-a441-a36155a8fba2",
5151
"slug": "additional-approaches",
5252
"title": "Additional approaches that are further afield",
5353
"blurb": "Additional interesting approaches.",
54-
"authors": ["BethanyG"]
54+
"authors": ["bethanyg"]
5555
}
5656
]
5757
}

exercises/practice/reverse-string/.articles/config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"slug": "performance",
66
"title": "Performance deep dive",
77
"blurb": "Deep dive to find out the most performant approach for reversing a string.",
8-
"authors": ["BethanyG"]
8+
"authors": ["bethanyg", "colinleach"]
99
}
1010
]
1111
}

exercises/practice/reverse-string/.articles/performance/code/Benchmark.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"""Script for timing Reverse String Solutions.
55
66
Creates timing table and timing graphs for
7-
multiple approaches to reversing a stirng in Python.
7+
multiple approaches to reversing a string in Python.
8+
Adapted from code written by colinleach.
89
910
Created Jan 2024
1011
@author: bethanygarcia

0 commit comments

Comments
 (0)