I hereby claim:
- I am mwicks7 on github.
- I am mwicks7 (https://keybase.io/mwicks7) on keybase.
- I have a public key whose fingerprint is D9AD 317E 4DAB BC14 F59D C9EF 1851 B5BA BC99 CEBA
To claim this, I am signing this object:
/** | |
* Given an array of Person objects, returns the root PersonTreeNode (the CEO). | |
* @param {Person[]} employees - An array of Person objects representing all the employees of the company. | |
* @returns {PersonTreeNode} The CEO of the organization. | |
*/ | |
function generateTree(employees) { | |
var ceo = null; | |
const employeeNodes = employees.map(emp => PersonTreeNode(emp)); | |
const getNodeById = (id) => employeeNodes.filter(en => en.person.id === id)[0]; |
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object: