Correct ans still shows wrong AGAIN

KIndly tell where i went wrong as fas as i know my code is giving the right output for every test case

hi @7nishit

your output is not according to question

you have to give output like
# Preorder : 4 3 2 5 6
# Nodes within range are : 3 4 5

but your output is
3 4 5
so just write a preorder function and set your output according to question’s requirement

i hope this help
if you have more doubts regarding this feel free to ask
if your doubt is resolved mark it as resolved from your doubt section inside your course