/spiceworks-challenge

Solution to Spiceworks coding challenge

Primary LanguageJava

spiceworks-challenge

This my solution to Spiceworks coding challenge. With the given Node class, I implemented the countDescendents function that would return the count of children and sibling nodes.

I simply wrote the countDescendents function and included the given class node. There are no main class.