Skip to content

Commit

Permalink
🐛 Add missing link
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmcalder committed Jan 7, 2024
1 parent e12fca8 commit 145f11f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exercises/practice/leap/.approaches/introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

There are various idiomatic approaches to solve Leap.
You can use a chain of boolean expressions to test the conditions.
Or you can use a [conditional expression][conditional-expression].
Or you can use a [conditional expression][control-flow].

## General guidance

Expand Down Expand Up @@ -42,6 +42,7 @@ Since most years fit those conditions, it is the most efficient approach overall
The conditional expression approach was faster in benchmarking when the year was a leap year or was evenly divisible by `100`,
but those are the least likely conditions.

[control-flow]: https://stat.ethz.ch/R-manual/R-patched/library/base/html/Control.html
[arithmetic-operators]: https://stat.ethz.ch/R-manual/R-patched/library/base/html/Arithmetic.html
[approach-boolean-chain]: https://exercism.org/tracks/r/exercises/leap/approaches/boolean-chain
[approach-conditional-expression]: https://exercism.org/tracks/r/exercises/leap/approaches/conditional-expression

0 comments on commit 145f11f

Please sign in to comment.