It was a difficult problem, and I was genuinely interested in the solution. So I searched online after the interview and found that leetcode called it a hard problem.
Wow, so that problem was from the LeetCode website itself?
Was it with different parameters or different phrasing, ... Or everything was the same?
If same but different, I wonder how (un)likely it is that they came up with that problem themselves, independently, without knowing about the LeetCode version. (What would you think?)