V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
zerozz
V2EX  ›  问与答

请教一下纵横字谜的问题

  •  
  •   zerozz · Apr 25, 2019 · 1297 views
    This topic created in 2560 days ago, the information mentioned may be changed or developed.

    看到一个纵横字谜的问题,请教一下有什么比较好的数据结构和算法方案,能够最有效率得到一种正确的纵横字谜组合

    已知能组合成纵横字谜的单词和方向(纵或横),如 横:trojans、dodgers、csci, 纵:traveler、good、marshall 计算出由所有已知单词组合成的纵横字谜 示例结果:

    https://i.imgur.com/XfvSumk.jpg

    1 replies    2019-04-25 12:56:12 +08:00
    zerozz
        1
    zerozz  
    OP
       Apr 25, 2019
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3248 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 37ms · UTC 13:40 · PVG 21:40 · LAX 06:40 · JFK 09:40
    ♥ Do have faith in what you're doing.