-
-
Notifications
You must be signed in to change notification settings - Fork 558
Review descriptions for initial duplication. #802
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| To try and encourage more sales of different books from a popular 5 book series, a bookshop has decided to offer discounts of multiple-book purchases. | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I actually like the removed text better here.
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @ErikSchierboom I have been following the discussion here and I agree with you on this point but I would like to add that the hyphen should be removed if
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Replaced and de-hyphened as suggested. |
||
| To try and encourage more sales of the 5 different books | ||
| they sell of a popular series, a bookshop has decided to | ||
| offer discounts of multi-book purchases. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,2 @@ | ||
| Make sure the brackets and braces all match. | ||
|
|
||
| Ensure that all the brackets and braces are matched correctly, | ||
| and nested correctly. | ||
| Given a string containing brackets `[]`, braces `{}` and parentheses `()`, | ||
| verify that all the pairs are matched and nested correctly. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,5 @@ | ||
| Implement a clock that handles times without dates. | ||
|
|
||
| Create a clock that is independent of date. | ||
|
|
||
| You should be able to add and subtract minutes to it. | ||
|
|
||
| Two clocks that represent the same time should be equal to each other. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| Given a letter, print a diamond starting with 'A' with the supplied letter at the widest point. | ||
|
|
||
| ## Diamond kata | ||
|
||
|
|
||
| The diamond kata takes as its input a letter, and outputs it in a diamond | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,4 @@ | ||
| Take a nested list and return a single list with all values except nil/null. | ||
| Take a nested list and return a single flattened list with all values except nil/null. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs formatting for width?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, but not initial duplication related. |
||
|
|
||
| The challenge is to write a function that accepts an arbitrarily-deep nested list-like structure and returns a flattened structure without any nil/null values. | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,6 @@ | ||
| Convert a octal number, represented as a string (e.g. '1735263'), to its decimal equivalent using first principles (i.e. no, you may not use built-in or external libraries to accomplish the conversion). | ||
| Convert a octal number, represented as a string (e.g. '1735263'), to its | ||
|
||
| decimal equivalent using first principles (i.e. no, you may not use built-in or | ||
| external libraries to accomplish the conversion). | ||
|
|
||
| Implement octal to decimal conversion. Given an octal input | ||
| string, your program should produce a decimal output. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,7 @@ | ||
| Determine if a sentence is a pangram. A pangram (Greek: παν γράμμα, pan gramma, | ||
| "every letter") is a sentence using every letter of the alphabet at least once. | ||
| The best known English pangram is "The quick brown fox jumps over the lazy dog." | ||
| The best known English pangram is "The quick brown fox jumps over the lazy | ||
| dog." | ||
|
||
|
|
||
| The alphabet used is ASCII, and case insensitive, from 'a' to 'z' | ||
| inclusively. | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| Determine if a number is perfect, abundant, or deficient based on Nicomachus' (60 - 120 CE) classification scheme for natural numbers. | ||
| Determine if a number is perfect, abundant, or deficient based on Nicomachus' | ||
| (60 - 120 CE) classification scheme for natural numbers. | ||
|
||
|
|
||
| The Greek mathematician [Nicomachus](https://en.wikipedia.org/wiki/Nicomachus) devised a classification scheme for natural numbers, identifying each as belonging uniquely to the categories of **perfect**, **abundant**, or **deficient** based on their [aliquot sum](https://en.wikipedia.org/wiki/Aliquot_sum). The aliquot sum is defined as the sum of the factors of a number not including the number itself. For example, the aliquot sum of 15 is (1 + 3 + 5) = 9 | ||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,6 +1,4 @@ | ||
| Pick the best hand(s) from a list of poker hands. | ||
|
|
||
| Write an algorithm to pick the best poker hand(s) from a list. | ||
|
|
||
| See [wikipedia](https://en.wikipedia.org/wiki/List_of_poker_hands) for an | ||
| overview of poker hands. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,5 @@ | ||
| Translate RNA sequences into proteins. | ||
|
|
||
| Let's translate RNA sequences into proteins. [general ref](http://en.wikipedia.org/wiki/Translation_(biology)) | ||
|
|
||
| RNA can be broken into three nucleotide sequences called codons, and then translated to a polypeptide like so: | ||
|
|
||
| RNA: `"AUGUUUUCU"` => translates to | ||
|
|
@@ -38,3 +36,6 @@ UAU, UAC | Tyrosine | |
| UGU, UGC | Cysteine | ||
| UGG | Tryptophan | ||
| UAA, UAG, UGA | STOP | ||
|
|
||
|
|
||
| Learn more about [protein translation on Wikipedia](http://en.wikipedia.org/wiki/Translation_(biology)) | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs formatting for width.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The rendered view has no width issues? |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| Given a decimal number, convert it to the appropriate sequence of events for a secret handshake. | ||
|
|
||
| > There are 10 types of people in the world: Those who understand | ||
| > binary, and those who don't. | ||
|
|
||
|
|
@@ -16,6 +14,8 @@ binary decide to come up with a secret "handshake". | |
| 10000 = Reverse the order of the operations in the secret handshake. | ||
| ``` | ||
|
|
||
| Given a decimal number, convert it to the appropriate sequence of events for a secret handshake. | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs formatting for width.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, but not initial duplication related. |
||
|
|
||
| Here's a couple of examples: | ||
|
|
||
| Given the input 3, the function would return the array | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,5 @@ | ||
| Given a number, find the sum of all the multiples of particular numbers up to but not including that number. | ||
| Given a number, find the sum of all the multiples of particular numbers up to | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is almost identically repeated at the end of the description. "particular numbers" also seems to be confusing language here.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a good point but I'm not going to change this as part of this PR as it is not related to the initial duplication. |
||
| but not including that number. | ||
|
|
||
| If we list all the natural numbers up to but not including 20 that are | ||
| multiples of either 3 or 5, we get 3, 5, 6 and 9, 10, 12, 15, and 18. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| Take input text and output it transposed. | ||
|
|
||
| Given an input text output it transposed. | ||
|
|
||
| Roughly explained, the transpose of a matrix: | ||
|
|
@@ -56,4 +54,4 @@ BE | |
|
|
||
| In general, all characters from the input should also be present in the transposed output. | ||
| That means that if a column in the input text contains only spaces on its bottom-most row(s), | ||
| the corresponding output row should contain the spaces in its right-most column(s). | ||
| the corresponding output row should contain the spaces in its right-most column(s). | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs formatting for width. |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,5 +1,3 @@ | ||
| Given two buckets of different size, demonstrate how to measure an exact number of liters. | ||
|
|
||
| Given two buckets of different size, demonstrate how to measure an exact number of liters by strategically transferring liters of fluid between the buckets. | ||
|
|
||
| Since this mathematical problem is fairly subject to interpretation / individual approach, the tests have been written specifically to expect one overarching solution. | ||
|
|
@@ -27,4 +25,4 @@ To conclude, the only valid moves are: | |
| - emptying one bucket and doing nothing to the other | ||
| - filling one bucket and doing nothing to the other | ||
|
|
||
| Written with <3 at [Fullstack Academy](http://www.fullstackacademy.com/) by [Lindsay](http://lindsaylevine.com). | ||
| Written with <3 at [Fullstack Academy](http://www.fullstackacademy.com/) by [Lindsay](http://lindsaylevine.com). | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Needs formatting for width. |
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Needs formatting for width.