Skip to content

1st Sprint Challenge - #104

Closed
rusticlion wants to merge 6 commits into
bloominstituteoftechnology:masterfrom
rusticlion:master
Closed

1st Sprint Challenge#104
rusticlion wants to merge 6 commits into
bloominstituteoftechnology:masterfrom
rusticlion:master

Conversation

@rusticlion

Copy link
Copy Markdown

Finished all but cacheFunction, checkMatchingLeaves, and recursive reverseString. Also, I made my final push at 10:55, I just forgot to submit the pull until just now.

Comment thread Answers.md
@@ -1,2 +1,44 @@
# Your responses to the short answer questions should be laid out here using Mark Down.
### For help with markdown syntax [Go here](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet)

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are great descriptions. It definitely appears that you have a good understanding of the concepts.

Comment thread src/challenges.js

const map = (elements, cb) => {
// Produces a new array of values by mapping each value in list through a transformation function (iteratee).
// Return the new array.

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a great solution. If you come back to this try and solve this using the each function you created above (just a little extra credit/thinking)

Comment thread src/challenges.js
const flatten = elements => {
// Flattens a nested array (the nesting can be to any depth).
// Example: flatten([1, [2], [3, [[4]]]]); => [1, 2, 3, 4];
return elements.reduce((flatArray, toFlatten) => {

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great use of Array in this code base

@boomer1204 boomer1204 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very good commit. The checkMatchingLeaves is not passing but that is a very difficult challenge. Rest of the code looks good. Keep it up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants