tesorouo
V2EX  ›  问与答

常数算法复杂度问题

  •  
  •   tesorouo · May 21, 2020 · 947 views
    This topic created in 2232 days ago, the information mentioned may be changed or developed.

    如果有两个算法 m(x)和 n(x)

    a(x) = 1 b(x) = 100

    我能说 a \in O(b) 吗?

    1 replies    2020-05-21 10:53:11 +08:00
    itskingname
        1
    itskingname  
       May 21, 2020
    你第二行的 a 和 b 又是什么呢?他们和 m 与 n 是什么关系?
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1202 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 17:41 · PVG 01:41 · LAX 10:41 · JFK 13:41
    ♥ Do have faith in what you're doing.