tesorouo
V2EX  ›  问与答

常数算法复杂度问题

  •  
  •   tesorouo · May 21, 2020 · 918 views
    This topic created in 2211 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   ·   5932 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 35ms · UTC 02:55 · PVG 10:55 · LAX 19:55 · JFK 22:55
    ♥ Do have faith in what you're doing.