Skip to content

Commit

Permalink
clarify
Browse files Browse the repository at this point in the history
  • Loading branch information
abrudz authored Aug 15, 2024
1 parent 0e7535e commit eb4604f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/loops-and-recursion.md
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ Now answer the following questions about `words`.

1. Which palindrome in `words` is the longest?

1. How many words are in alphabetical order?
1. How many words have their letters arranged in alphabetical order?

### Bell Numbers
A [Bell number](https://en.wikipedia.org/wiki/Bell_number) counts the possible partitions of a set. The n<sup>th</sup> Bell number $B_n$ counts the ways you can partition a set of $n$ elements.
Expand Down Expand Up @@ -321,4 +321,4 @@ Write a function `Backspace` which takes a simple numeric vector argument and tr
1 8
```

For an extra challenge, modify your function so that it can also accept a character vector where `\b` is treated as a single token and signifies a backspace character.
For an extra challenge, modify your function so that it can also accept a character vector where `\b` is treated as a single token and signifies a backspace character.

0 comments on commit eb4604f

Please sign in to comment.