Skip to content

Instantly share code, notes, and snippets.

View miriamhochwaldartist's full-sized avatar

miriamhochwald miriamhochwaldartist

View GitHub Profile
@miriamhochwaldartist
miriamhochwaldartist / README.md
Last active December 2, 2021 02:19 — forked from pedronauck/README.md
Sample file for README.md

Deputy Software Engineering Challenge

The problem is to find the subordinate user files based on the role level input.

"Come up with a function, for an arbitrary collection of roles and users, given a user Id returns a list of ALL their subordinates (i.e: including their subordinate's subordinates)."

Sample roles and user input are input as two different list dictionaries. Role levels are not unique to one user.

The problem can be approached from either comparing the role level input with the list dictionary entries. The test set returns the subordinates list of a particular role level.