Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 13_factorial/README.md → 17_factorial/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Exercise 13 - Factorial
# Exercise 17 - Factorial

Write a recursive [factorial](https://simple.wikipedia.org/wiki/Factorial) function that takes a non-negative integer, and returns the product of all positive integers less than or equal to the input integer. An input of `0` should return `1`. The function should only accept numbers, so `'4'` should not be accepted as it is a string. All invalid inputs should return `undefined`.

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 14_contains/README.md → 18_contains/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Exercise 14 - contains
# Exercise 18 - contains

Write a function that searches for a value in a nested object. It returns true if the object contains that value.

Expand Down
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion 15_totalIntegers/README.md → 19_totalIntegers/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Exercise 15 - totalIntegers
# Exercise 19 - totalIntegers

Write a function that takes in an arbitrarily deep array or object and returns the total number of integers stored inside this array or object.

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion 16_permutations/README.md → 20_permutations/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Exercise 16 - permutations
# Exercise 20 - permutations

Write a function that takes in an empty array or an input array of an consecutive positive integers, starting at 1, and returns an array of all possible permutations of the original array

Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion 19_pascal/README.md → 21_pascal/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Exercise 19 - pascal
# Exercise 21 - pascal

The pascal's triangle is modelled as follows:
- The first row is `1`.
Expand Down
File renamed without changes.
File renamed without changes.