I found leetcode's difficult rating system is quite confusing.
The most obvious example is #938. This problem is rated as medium, but apparently it is easier than most easy problems.
medium