Meaning of lg * N in Algorithmic Analysis

前端 未结 6 1885
暖寄归人
暖寄归人 2021-02-05 05:23

I\'m currently reading about algorithmic analysis and I read that a certain algorithm (weighted quick union with path compression) is of order N + M lg * N. Apparently though th

6条回答
  •  醉梦人生
    2021-02-05 06:19

    lg is "LOG" or inverse exponential. lg typically refers to base 2, but for algorithmic analysis, the base usually doesnt matter.

提交回复
热议问题