Median Paycheck: Exercise
Write a point-free function to find the median monthly paycheck above $100,000.
I hope this one looks familiar–it’s from our higher-order functions section!
Given a list of employee salaries, find the median monthly paycheck above $100,000.
Usage
const medianPaycheck = getMedianPaycheck(employees) // $141,000
The median’s $141,000?! Must be Google or Facebook employees…oh, by the way, your solution must be point-free. ;)
index.js
employees.js
import {} from 'ramda';import employees from './employees';const getMedianPaycheck = () => {};