Skip to content

Commit f6ac3eb

Browse files
SleeplessBytemikegehard
authored andcommitted
bracket-push: rename to matching-brackets (#298)
* bracket-push: rename to matching-brackets This rename was proposed in: exercism/problem-specifications#1501 The rationale for the name is: * to name the exercise by its story, not by what it potentially teaches * to avoid unnecessarily biasing the solution space * 👀 rename reference in settings.gradle
1 parent 1a1d49f commit f6ac3eb

File tree

12 files changed

+6
-6
lines changed

12 files changed

+6
-6
lines changed

config.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@
513513
]
514514
},
515515
{
516-
"slug": "bracket-push",
516+
"slug": "matching-brackets",
517517
"uuid": "cbbbd7db-224f-45ca-a108-4dc6bc98e4a0",
518518
"core": false,
519519
"unlocked_by": "flatten-array",

exercises/bracket-push/.meta/src/reference/kotlin/BracketPush.kt renamed to exercises/matching-brackets/.meta/src/reference/kotlin/MatchingBrackets.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import java.util.*
22
import java.util.Collections.asLifoQueue
33

4-
object BracketPush {
4+
object MatchingBrackets {
55

66
private val CLOSING_TO_OPENING_MAP = mapOf(
77
'}' to '{',

exercises/bracket-push/README.md renamed to exercises/matching-brackets/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Bracket Push
1+
# Matching Brackets
22

33
Given a string containing brackets `[]`, braces `{}`, parentheses `()`,
44
or any combination thereof, verify that any and all pairs are matched
File renamed without changes.

0 commit comments

Comments
 (0)