Skip to content

Conversation

@yjlim5
Copy link
Collaborator

@yjlim5 yjlim5 commented Jun 5, 2017

Return a guest list for Max fun

test/58.js Outdated
// solution = require('../yourSolution').solution;

describe('return smallest number of coins required to return the change', () => {
class Employee {
Copy link
Collaborator

Choose a reason for hiding this comment

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

import this from solution. Doesn't make sense for Employee to be part of tests.

Copy link
Collaborator

Choose a reason for hiding this comment

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

required

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done.

solutions/58.js Outdated
});
});

if (funValWithoutEmp > funValWithEmp) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

return funValWithoutEmp > funValWithEmp ? funValWithoutEmp : funValWithEmp;

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

done.

test/58.js Outdated
// solution = require('../yourSolution').solution;

describe('return smallest number of coins required to return the change', () => {
class Employee {
Copy link
Collaborator

Choose a reason for hiding this comment

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

required

solutions/58.js Outdated
* @param {Employee} emp - an Employee with fun value and a list of his staff
* @returns {Employee []]} list - Array of employees that creates the maximum fun
*/

Copy link
Collaborator

Choose a reason for hiding this comment

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

almost there! remove empty line

@yjlim5 yjlim5 merged commit 8c2970f into llipio:master Jun 15, 2017
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