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

一道面试题,老司机看看

  •  
  •   mortonnex · May 20, 2016 · 2827 views
    This topic created in 3708 days ago, the information mentioned may be changed or developed.

    owt5008137
        1
    owt5008137  
       May 20, 2016 via Android   ❤️ 1
    位压缩,总共 16 个方块,也就 16bits=65536 种状态。然后 BFS 呗。
    chairuosen
        2
    chairuosen  
       May 20, 2016
    Exin
        3
    Exin  
       May 20, 2016
    试着做了一下,不太优雅, i5-2400 耗时 4 秒
    https://gist.github.com/ExinCoda/29d4718b3bbe15c77044b68abdd26f1f
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1089 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 34ms · UTC 18:27 · PVG 02:27 · LAX 11:27 · JFK 14:27
    ♥ Do have faith in what you're doing.