leetcode
leetcode copied to clipboard
Bug Report for majority-element-ii
Bug Report for https://neetcode.io/problems/majority-element-ii
Please describe the bug below and include any steps to reproduce the bug or screenshots if possible.
For this problem it says that the returned array can be in any order, but it says wrong answer when I return [2,5] and the expected is [5,2].
Could you please share the code?