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: 2 additions & 0 deletions exercises/practice/anagram/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Instructions append

## Implementation

You must return the anagrams in the same order as they are listed in the candidate words.

The instructions above refer to "lists" in the general sense and not to the `list()` data type in R.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
# Instructions append

## Implementation

R supports complex numbers as a core type: for details see [here][complex1] and [here][complex2].
The purpose of this exercise is to implement them from scratch, _without_ using the built-in functions.

[complex1]: https://stat.ethz.ch/R-manual/R-devel/library/base/html/complex.html
[complex2]: https://www.cfm.brown.edu/people/dobrush/am33/R/intro/complex0.html
[complex2]: https://www.cfm.brown.edu/people/dobrush/am33/R/intro/complex0.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
### Bonus tests
# Instructions append

## Bonus tests

Enable tests with grapheme clusters by uncommenting (or defining) `enable_grapheme_clusters <- TRUE`.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Instructions append

## Hint

For this exercise you will need to implement a simple S3 class via its constructor, generic method and dispatch to class method. If you are not familiar with S3, a great starting point is the [chapter on S3](http://adv-r.hadley.nz/s3.html) in Hadley Wickham's book Advanced R.
For this exercise you will need to implement a simple S3 class via its constructor, generic method and dispatch to class method.
If you are not familiar with S3, a great starting point is the [chapter on S3](http://adv-r.hadley.nz/s3.html) in Hadley Wickham's book Advanced R.
2 changes: 2 additions & 0 deletions exercises/practice/sieve/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Instructions append

## Implementation

Notice that this is a very specific algorithm that requires **not** to use division or derived operations (remainder, square root, exponent etc.).
2 changes: 2 additions & 0 deletions exercises/practice/sublist/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Instructions append

## Implementation

Whilst the instructions refer to working with lists, in R the vector type is a more common collection type.
Hence, you should read "vector" whenever "list" is mentioned.
4 changes: 3 additions & 1 deletion exercises/practice/triangle/.docs/instructions.append.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
# Instructions append

## Hint

For this exercise you will need to implement a simple S3 class. If you are not familiar with S3, a great starting point is the [chapter on S3](http://adv-r.hadley.nz/s3.html) in Hadley Wickham's book Advanced R.
For this exercise you will need to implement a simple S3 class.
If you are not familiar with S3, a great starting point is the [chapter on S3](http://adv-r.hadley.nz/s3.html) in Hadley Wickham's book Advanced R.