Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science
  3. Question
Data Science

Using the code below, a user is facing an issue that it always returns an empty list. If he bring root nodes out of the function, Python complains that the local variable root nodes is referenced before it is instantiated.

Asked by Nikita Gavde Nov 17, 2019 1.4K views 1 answer
Share

Your answer

1 Answer

More Data Science discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.