The question:

https://leetcode.com/problems/permutations/

Reports that the correct results for all permutations of [1, 3, 3] is:

[[1,3,3],[1,3,3],[3,1,3],[3,3,1],[3,1,3],[3,3,1]]

However, there are results repeated in that list. As long as 3 and 3 are the same value, we can not list [1,3,3] and [1,3,3]. I believe that the solution required to pass the question is treating these as unique values which they are not.

Am I perhaps misinterpreting the question?