V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
lightryanking
V2EX  ›  算法

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

  •  
  •   lightryanking · Jul 9, 2018 · 3108 views
    This topic created in 2860 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   ·   1241 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 17:38 · PVG 01:38 · LAX 10:38 · JFK 13:38
    ♥ Do have faith in what you're doing.