Wrong dimeter calculation

dimeter should be 7? how it is 6?

@gaurav19063 we count the distance between two nodes, ie the number of edges between them. That will be 6, not 7.

Okay got it what is the definition of the diameter.

1 Like

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.