lightryanking
V2EX  ›  算法

请教一下两组数两两匹配怎么穷举比较好啊?

  •  
  •   lightryanking · Jul 9, 2018 · 3135 views
    This topic created in 2872 days ago, the information mentioned may be changed or developed.

    比如第一组数是:A B C D E 第二组是:1 2 3 4 5 6

    两组数不一定是对称的,第一组数量比第二组可能多也可能少也可能相同,输出结果举例如下:A1 B2 C3 D4 E5,要求输出所有可能的结果

    求大佬指点啊

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3551 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 04:44 · PVG 12:44 · LAX 21:44 · JFK 00:44
    ♥ Do have faith in what you're doing.