Q. Why difficulty of 128. Longest Consecutive Sequence problem changed from Hard to Medium?

Hi everyone,

Yesterday, I was solving 128. Longest Consecutive Sequence problem. Below is the link of the question :
https://leetcode.com/problems/longest-consecutive-sequence/

I was stuck and was not able to come up with efficient solution. So I looked around to understand the approach. Then I noticed that previously the difficulty of this question was Hard but now it has been changed to Medium. I am providing the screenshots below:
Previous Difficulty
image

Current Difficulty
image

Why this happened? What things made this question to move from Hard to Medium?

Comments (2)