V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
JasonLaw
V2EX  ›  程序员

关于 LeetCode 919 Complete Binary Tree Inserter 的疑问

  •  
  •   JasonLaw · May 26, 2023 · 1410 views
    This topic created in 1069 days ago, the information mentioned may be changed or developed.

    我正在做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  
       May 26, 2023
    不合理,将就着做。取其中 complete 的部分。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5627 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 01:35 · PVG 09:35 · LAX 18:35 · JFK 21:35
    ♥ Do have faith in what you're doing.