Skip to content
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

HW3 submission #24

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

SagariDatta
Copy link

No description provided.

//checking array values
//console.log(restaurantData[i]);
//console.log(restaurantData[i][i]);
L.marker([restaurantData[i][0], restaurantData[i][1]]).addTo(map).bindPopup(data1[i][2]).openPopup();
Copy link
Member

Choose a reason for hiding this comment

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

data1 is not defined and it's throwing an error. When set to restaurantData it works.

count2 = count2 + fib_num_list[k];
}
}
console.log(count2);
Copy link
Member

Choose a reason for hiding this comment

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

Your answer is too large: 1884764434
You are on the right track, but check out:

https://stackoverflow.com/questions/9053545/finding-the-sum-of-even-valued-terms-in-fibonacci-sequence

Which games are exclusive to collections? In other words, only owned by either Ross or Nathan.
===================== */

var query8 = _.difference(rossGameList, nathanGameList);
Copy link
Member

Choose a reason for hiding this comment

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

difference is not sufficient here - it only checks the first param versus the second, and not in both directions. you'd need to union the differences.

@rossbernet
Copy link
Member

@SagariDatta In general this all looks good. One request - can you edit the files in place rather than creating a new folder where you make all of your edits? It is much more challenging to review the homework without the file diff viewer that github provides when showing changes between files. If you want a copy of the original files, just create copy them into a separate folder. If this doesn't make sense, let me know and I will try to clarify. Thanks!

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.

2 participants