diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-format.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-format.english.md
index 0d9314cfad9..d960bce405c 100644
--- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-format.english.md
+++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/date-format.english.md
@@ -6,11 +6,12 @@ challengeType: 5
## Description
Return an array with the current date in the formats: - 2007-11-23 and - Sunday, November 23, 2007 Example output: Given a date string in EST, output the given date as a string with 12 hours added to the time. Time zone should be preserved. Example input: Example output: A company decides that whenever Xmas falls on a Sunday they will give their workers all extra paid holidays so that, together with any public holidays, workers will not have to work the following week (between the 25th of December and the first of January). Task: Write a function that takes a start year and an end year and return an array of all the years where the 25th of December will be a Sunday. Free Cell is the solitaire card game that Paul Alfille introduced to the PLATO system in 1978. Jim Horne, at Microsoft, changed the name to FreeCell and reimplemented the game for DOS, then Windows. This version introduced 32000 numbered deals. (The FreeCell FAQ tells this history.) As the game became popular, Jim Horne disclosed the algorithm, and other implementations of FreeCell began to reproduce the Microsoft deals. These deals are numbered from 1 to 32000. Newer versions from Microsoft have 1 million deals, numbered from 1 to 1000000; some implementations allow numbers outside that range. The algorithm uses this linear congruential generator from Microsoft C: The algorithm follows: Order to deal cards['2007-11-23', 'Sunday, November 23, 2007']
+
+Example output: ['2007-11-23', 'Sunday, November 23, 2007']
"March 7 2009 7:30pm EST""March 8 2009 7:30am EST""March 7 2009 7:30pm EST"
+Example output: "March 8 2009 7:30am EST"
1 2 3 4 5 6 7 8
+FreeCell is the solitaire card game that Paul Alfille introduced to the PLATO system in 1978. Jim Horne, at Microsoft, changed the name to FreeCell and reimplemented the game for DOS, then Windows. This version introduced 32000 numbered deals. (The FreeCell FAQ tells this history.)
+As the game became popular, Jim Horne disclosed the algorithm, and other implementations of FreeCell began to reproduce the Microsoft deals. These deals are numbered from 1 to 32000. Newer versions from Microsoft have 1 million deals, numbered from 1 to 1000000; some implementations allow numbers outside that range.
+The algorithm uses this linear congruential generator from Microsoft C:
+
+
+The algorithm follows:
+
+
+Example:
+Order to deal cards
+
+
+ 1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32
33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48
-49 50 51 52
Game #1
-[ +49 50 51 52+Game #1 +
[ ['JD', '2D', '9H', 'JC', '5D', '7H', '7C', '5H'], ['KD', 'KC', '9S', '5S', 'AD', 'QC', 'KH', '3H'], ['2S', 'KS', '9D', 'QD', 'JS', 'AS', 'AH', '3C'], @@ -38,9 +45,9 @@ Example: ['3S', 'TD', '4S', 'TH', '8H', '2C', 'JH', '7D'], ['6D', '8S', '8D', 'QS', '6C', '3D', '8C', 'TC'], ['6S', '9C', '2H', '6H'] -]-
Game #617
-[ +]+Game #617 +
[ ['7D', 'AD', '5C', '3S', '5S', '8C', '2D', 'AH'], ['TD', '7S', 'QD', 'AC', '6D', '8H', 'AS', 'KH'], ['TH', 'QC', '3H', '9D', '6S', '8D', '3D', 'TC'], @@ -48,12 +55,9 @@ Example: ['4C', 'QS', '9C', '9H', '7C', '6H', '2C', '2S'], ['4S', 'TS', '2H', '5D', 'JC', '6C', 'JH', 'QH'], ['JD', 'KS', 'KC', '4H'] -]-Task: -
Write a function to take a deal number and deal cards in the same order as this algorithm.
-The function must return a two dimensional array representing the FreeCell board.
-Deals can also be checked against FreeCell solutions to 1000000 games.
-(Summon a video solution, and it displays the initial deal.)
+] +Write a function to take a deal number and deal cards in the same order as this algorithm. The function must return a two dimensional array representing the FreeCell board. +Deals can also be checked against FreeCell solutions to 1000000 games. (Summon a video solution, and it displays the initial deal.) ## Instructions diff --git a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deepcopy.english.md b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deepcopy.english.md index da66d0ad1eb..83f94a5346c 100644 --- a/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deepcopy.english.md +++ b/curriculum/challenges/english/08-coding-interview-prep/rosetta-code/deepcopy.english.md @@ -6,14 +6,14 @@ challengeType: 5 ## DescriptionWrite a function that returns a deep copy of a given object.
-The copy must not be the same object that was given.
-This task will not test for:
-Objects with properties that are functions -Date objects or object with properties that are Date objects -RegEx or object with properties that are RegEx objects -Prototype copying +Write a function that returns a deep copy of a given object. The copy must not be the same object that was given. +This task will not test for: +Define a type that behaves like an integer but has a lowest valid value of 1 and a highest valid value of 10.
-Errors: -If you try to instantiate aNum with a value outside of 1 - 10
-it should throw a TypeError with an error message of 'Out of range'.
-If you try to instantiate a Num with a value that is not a number
-it should throw a TypeError with an error message of 'Not a Number'.
+Define a type that behaves like an integer but has a lowest valid value of 1 and a highest valid value of 10.
+Error handling:
+Num with a value outside of 1 - 10, it should throw a TypeError with an error message of 'Out of range'.Num with a value that is not a number, it should throw a TypeError with an error message of 'Not a Number'.Convert a given date from the Gregorian calendar to the Discordian calendar.
+Convert a given date from the Gregorian calendar to the Discordian calendar.