V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
JasonLaw
V2EX  ›  程序员

关于 LeetCode 919 Complete Binary Tree Inserter 的疑问

  •  
  •   JasonLaw · 335 天前 · 588 次点击
    这是一个创建于 335 天前的主题,其中的信息可能已经有所发展或是发生改变。

    我正在做Complete Binary Tree Inserter - LeetCode,但是出现了["CBTInserter","insert","insert","get_root"] [[[1,null,2]],[3],[4],[]]这样的 input ,这是合理的吗?[1,null,2]不是一个 complete binary tree 呀。难道我哪里理解错误了?🤕

    twksos
        1
    twksos  
       335 天前
    不合理,将就着做。取其中 complete 的部分。。。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   5201 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 396ms · UTC 09:29 · PVG 17:29 · LAX 02:29 · JFK 05:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.