Yeah, i mentioned that the algorithm is correct at the beginning. But i felt the urge to comment about the implementation because i think it matters. Nevermind, the topic is about the algorithm so let's move on.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.