Tree — Part3

First, I add a new field in Node Model;

Next, I implement Size Method, that returns count at the root;

After that, The big question is; How do we fill the Count field? Where? When?

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ahmad Berahman

Ahmad Berahman

I have a dream to have a spectacular garden