Why “while len(x)” is giving Correct Answer and “while x” is giving Time Limit Exceeded?

后端 未结 0 893
一向
一向 2020-12-14 00:59

Given a binary tree, connect the nodes that are at same level. You\'ll be given an addition nextRight pointer for the same.

Initially, all the nextRight pointers poin

相关标签:
回答
  • 消灭零回复
提交回复
热议问题