Skip to content

An exercise in problem solving in the functional idiom

Notifications You must be signed in to change notification settings

zivile777/lets-get-functional

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lets-get-functional

An exercise in problem solving in the functional idiom.

Setup

  1. If you haven't release your lodown library to npm (node package manager), follow the steps in this video to do so:

    publishing-npm-packages

  2. Install your lodown library by running the command and replacing <my-user-name> :

     npm install --save lodown-<my-user-name>
    

Solve

Code and test your solutions in index.js. Customer data is available to you in the Array, customers. Utilizing your lodown library, write functions that take the Array of customers and return the following:

  1. number of males.
  2. number of females
  3. oldest customer, youngest customer
  4. average balance
  5. how many customer's names begin with some letter
  6. how many customer's friend's names begin with some letter
  7. how many customers are friends
  8. users have tags associated with them: find the top 3 most common tags
  9. create a summary of genders, the output should be:
{
    male: 3,
    female: 4,
    transgender: 1
}

Remember, in the node.js environment, you can both console.log() or use the dubugger to step through your code and inspect your work.

About

An exercise in problem solving in the functional idiom

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published