The purpose of this project is to give you an opportunity to showcase your coding style with node.
This is not meant to take longer than the typical 30 min code interview.
You can use any tools (IDE, npm, ...) and resources (google, stackoverflow,...) you use in your day to day.
However, you should come up with the implementation on your own.
Every night we receive list of players with their: name, team, status, and points for the day.
We need a function that aggregates points by team, and sorts teams in descending order by total points.
Only active players should be considered for team points calculation.
-
Code must be written using
standard
style convention -
Code should run in
Node 8.10
- Clone this repo
- Implement a working solution for
calculateTeamPoints
- Create a secret gist with the code for:
calculateTeamPoints.js
calculateTeamPoints.test.js
- Submit the gist link to your PGA contact