• 请不要在回答技术问题时复制粘贴 AI 生成的内容
JasonLaw
V2EX  ›  程序员

关于 LeetCode 919 Complete Binary Tree Inserter 的疑问

  •  
  •   JasonLaw · May 26, 2023 · 1501 views
    This topic created in 1109 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   ·   5492 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 07:47 · PVG 15:47 · LAX 00:47 · JFK 03:47
    ♥ Do have faith in what you're doing.