What Are the Odds?

  • + 0 comments

    Please can anybody explain how cnt[x] can be computed in O(n)? Thanks