tesorouo
V2EX  ›  问与答

常数算法复杂度问题

  •  
  •   tesorouo · May 21, 2020 · 991 views
    This topic created in 2274 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   ·   3197 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 11:27 · PVG 19:27 · LAX 04:27 · JFK 07:27
    ♥ Do have faith in what you're doing.