fix(curriculum): remove first person language from permutation generator lab (#67403)

This commit is contained in:
Clarence Bakosi
2026-05-14 20:02:04 +01:00
committed by GitHub
parent 152d51143a
commit 77d791ba7c

View File

@@ -11,7 +11,7 @@ In this lab, you will build a permutation generator that will take a string and
The recursive way of creating permutations of a string works by storing the fixed starting part of the string (prefix), and creating permutations of the rest.
For example, let's consider the word `machine`. The first round of creating permutations would be made fixing the `m` as the prefix of the string, and then creating permutations of the rest of the string, `achine`.
For example, consider the word `machine`. The first round of creating permutations would be made fixing the `m` as the prefix of the string, and then creating permutations of the rest of the string, `achine`.
For the rest of the string, permutations continue in the same way. One letter is added to the prefix, maybe the `c`, so the prefix becomes `mc`. Then, each of the permutations of `ahine` is concatenated to the prefix.