Accepted Solutions Runtime Distribution Question

  • 1

    Regarding the distribution, it (nearly) always seem that most of the upvoted answers are not the fastest solution.

    For example, in the case of Majority Element question,

    enter image description here

    Alot people are in the most upvoted answer category. So my question is that does that mean there is a much faster implementation somewhere? How do these people get such a fast solution and not sharing it?

    Some of the most upvoted answer seems so efficient, I don't know what other people are doing to be even more efficient. Can someone enlighten me? Thanks : )

Log in to reply

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.