It's a simple project used for studies and proof of concepts.
npm install
The "NumberOfChildrenByParentId" function returns the number of direct and indirect children from a given array of objects regarding a given parent id.
npm run test
It's a simple project used for studies and proof of concepts.
npm install
The "NumberOfChildrenByParentId" function returns the number of direct and indirect children from a given array of objects regarding a given parent id.
npm run test