Skip to content

Commit be98a38

Browse files
collatz-conjecture: add tags to approaches
1 parent 0099efd commit be98a38

File tree

1 file changed

+12
-3
lines changed
  • exercises/practice/collatz-conjecture/.approaches

1 file changed

+12
-3
lines changed

exercises/practice/collatz-conjecture/.approaches/config.json

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,10 @@
1212
"blurb": "Use a while loop to find the number of steps.",
1313
"authors": [
1414
"erikschierboom"
15-
]
15+
],
16+
"tags": {
17+
"all": ["construct:while-loop"]
18+
}
1619
},
1720
{
1821
"uuid": "8c7199ed-d74d-4e3d-b9d0-5f8595597528",
@@ -21,7 +24,10 @@
2124
"blurb": "Use recursion to find the number of steps.",
2225
"authors": [
2326
"erikschierboom"
24-
]
27+
],
28+
"tags": {
29+
"all": ["technique:recursion"]
30+
}
2531
},
2632
{
2733
"uuid": "4f91abfb-4c83-4e6d-84bc-bd08211d34d6",
@@ -30,7 +36,10 @@
3036
"blurb": "Use a (lazy) sequence and count its elements to find the number of steps.",
3137
"authors": [
3238
"erikschierboom"
33-
]
39+
],
40+
"tags": {
41+
"all": ["uses:Enumerable.Count", "uses:yield"]
42+
}
3443
}
3544
]
3645
}

0 commit comments

Comments
 (0)