educative.io

Test does take into account the order in the output though it shouldn't

I think we should adapt test checks and don’t take into account the order of numbers, just the presence of some certain collections and their values inside:

Expected:

Total Subsets: 4 {3,22,87,13,}{17,87,8,13,}{17,3,39,8,13,45,}{17,3,36,22,39,8,}

Actual:

Total Subsets: 4 {17,3,39,8,13,45,}{17,87,8,13,}{17,3,36,22,39,8,}{3,22,87,13,}

Incorrect Output

1 Like