educative.io

Educative

Typo in code solution

in the code solution (python)
line 16:

graph[parent].append(child)  # put the child into it's parent's list

The correct English spelling should be “its” for possessive not “it’s” for contraction.

reference: https://www.grammarly.com/blog/its-vs-its/

Thank you!

Thanks for pointing that out. We have fixed it.

1 Like