mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-03 00:04:08 -05:00
chore(curriculum): remove wiki reference from cip (#46457)
Co-authored-by: Jeremy L Thompson <jeremy@jeremylt.org>
This commit is contained in:
@@ -789,7 +789,8 @@
|
||||
"title": "Rosetta Code",
|
||||
"intro": [
|
||||
"Level up your creative problem solving skills with these free programming tasks from the classic Rosetta Code library.",
|
||||
"These challenges can prove to be difficult, but they will push your algorithm logic to new heights."
|
||||
"These challenges can prove to be difficult, but they will push your algorithm logic to new heights.",
|
||||
"<a href='https://rosettacode.org/wiki/Rosetta_Code' target='_blank' rel='noopener noreferrer nofollow'>Attribute: Rosetta Code</a>"
|
||||
]
|
||||
},
|
||||
"project-euler": {
|
||||
|
||||
@@ -8,7 +8,7 @@ dashedName: compare-a-list-of-strings
|
||||
|
||||
# --description--
|
||||
|
||||
A list or sequence is an abstract data type that represents a finite number of ordered values, where the same value may occur more than once. Here is an example:
|
||||
A list is a ordered set of values that may contain duplicates. Here is an example:
|
||||
|
||||
```js
|
||||
const list = [['AA', 'BB', 'CC'], ['AA', 'ACB', 'AA'], [], ['AA']];
|
||||
|
||||
@@ -8,9 +8,13 @@ dashedName: cramers-rule
|
||||
|
||||
# --description--
|
||||
|
||||
In linear algebra, Cramer's rule is an explicit formula for the solution of a system of linear equations with as many equations as unknowns, valid whenever the system has a unique solution. It expresses the solution in terms of the determinants of the (square) coefficient matrix and of matrices obtained from it by replacing one column by the vector of right hand sides of the equations.
|
||||
<a href="https://rosettacode.org/wiki/Cramer%27s_rule" target="_blank" rel="noopener noreferrer nofollow">Cramer's rule</a> is a formula for solving a system of linear equations by using the determinates of matrixes formed from subsets of the coefficients and right hand side values.
|
||||
|
||||
Given
|
||||
The determinate of a matrix with 2 rows and two columns is given by:
|
||||
|
||||
$\begin{aligned}|A|={\begin{vmatrix}a&b\\\c&d\end{vmatrix}}=ad-bc.\end{aligned}$
|
||||
|
||||
Given a system of linear equations:
|
||||
|
||||
$\\left\\{\\begin{matrix}a_1x + b_1y + c_1z&= {\\color{red}d_1}\\\\a_2x + b_2y + c_2z&= {\\color{red}d_2}\\\\a_3x + b_3y + c_3z&= {\\color{red}d_3}\\end{matrix}\\right.$
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ and the population standard deviation is equal to the square root of the varianc
|
||||
|
||||
$$\sigma ={\sqrt {4}}=2$$
|
||||
|
||||
Write a function that takes an array of numbers as parameter and returns the standard deviation of the series.
|
||||
Write a function that takes an array of numbers as parameter and returns the <a href="https://rosettacode.org/wiki/Standard_deviation" target="_blank" rel="noopener noreferrer nofollow">standard deviation</a> of the series.
|
||||
|
||||
# --hints--
|
||||
|
||||
|
||||
@@ -10,12 +10,24 @@ dashedName: discordian-date
|
||||
|
||||
The Gregorian calendar is a solar calendar with 12 months of 28–31 days each. The year in both calendars consists of 365 days, with a leap day added to February in the leap years except for three centurial years every 400 years.
|
||||
|
||||
The Discordian calendar is aligned with the Gregorian calendar and begins on January 1. Its week consists of five days, there are 73 weeks per year. Every fourth year in the Discordian calendar, an extra day is inserted between Chaos 59 and Chaos 60
|
||||
The <a href="http://www.rosettacode.org/wiki/Discordian_date" target="_blank" rel="noopener noreferrer nofollow">Discordian calendar</a> is aligned with the Gregorian calendar and begins on January 1. Its week consists of five days, there are 73 weeks per year. Every fourth year in the Discordian calendar, an extra day is inserted between Chaos 59 and Chaos 60.
|
||||
|
||||
Note that in the Discordian calendar Chaos 1, 3188 YOLD is January 1, 2022, in the Gregorian calendar.
|
||||
The months, weekdays, and events in the Discordian calendar are given by:
|
||||
|
||||
Seasons: `'Chaos', 'Discord', 'Confusion', 'Bureaucracy', 'The Aftermath'`.
|
||||
|
||||
Weekday: `'Sweetmorn', 'Boomtime', 'Pungenday', 'Prickle-Prickle', 'Setting Orange'`.
|
||||
|
||||
Apostle: `'Mungday', 'Mojoday', 'Syaday', 'Zaraday', 'Maladay'`.
|
||||
|
||||
Holidays: `'Chaoflux', 'Discoflux', 'Confuflux', 'Bureflux', 'Afflux'`.
|
||||
|
||||
# --instructions--
|
||||
|
||||
Convert a given date from the Gregorian calendar to the Discordian calendar.
|
||||
|
||||
Note that in the Discordian calendar (Chaos 1, 3188 YOLD) is (January 1, 2022), in the Gregorian calendar.
|
||||
|
||||
# --hints--
|
||||
|
||||
`discordianDate` should be a function.
|
||||
|
||||
@@ -8,7 +8,7 @@ dashedName: i-before-e-except-after-c
|
||||
|
||||
# --description--
|
||||
|
||||
**"I before E, except after C"** is a mnemonic rule of thumb for English spelling. If one is unsure whether a word is spelled with the digraph `ei` or `ie`, the rhyme suggests that the correct order is `ie` unless the preceding letter is `c`, in which case it may be `ei`.
|
||||
**<a href="http://www.rosettacode.org/wiki/I_before_E_except_after_C" target="_blank" rel="noopener noreferrer nofollow">"I before E, except after C"</a>** is a general rule for English language spelling. If one is unsure whether a word is spelled with the digraph `ei` or `ie`, the rhyme suggests that the correct order is `ie` unless the preceding letter is `c`, in which case it may be `ei`.
|
||||
|
||||
Using the words provided, check if the two sub-clauses of the phrase are plausible individually:
|
||||
|
||||
|
||||
@@ -8,11 +8,9 @@ dashedName: sedols
|
||||
|
||||
# --description--
|
||||
|
||||
<abbr title="Stock Exchange Daily Official List">SEDOL</abbr> is a list of security identifiers used in the United Kingdom and Ireland for clearing purposes. The numbers are assigned by the London Stock Exchange, on request by the security issuer.
|
||||
<abbr title="Stock Exchange Daily Official List">SEDOL</abbr> is a list of securities identification numbers issued by the London Stock Exchange.
|
||||
|
||||
<abbr title="Stock Exchange Daily Official List">SEDOL</abbr>s serve as the National Securities Identifying Number for all securities issued in the United Kingdom and are therefore part of the security's <abbr title="International Securities Identification Number">ISIN</abbr> as well. The <abbr title="Stock Exchange Daily Official List">SEDOL</abbr> Masterfile provides reference data on millions of global multi-asset securities each uniquely identified at the market level using a universal <abbr title="Stock Exchange Daily Official List">SEDOL</abbr> code.
|
||||
|
||||
For each number list of 6-digit SEDOLs, calculate and append the `checkSum` digit. That is, given the input string on the left, your function should return the corresponding string on the right:
|
||||
For each number list of 6-digit <abbr title="Stock Exchange Daily Official List">SEDOL</abbr>s, calculate and append the checksum digit. That is, given the input string on the left, your function should return the corresponding string on the right:
|
||||
|
||||
<pre>
|
||||
710889 => 7108899
|
||||
|
||||
Reference in New Issue
Block a user