2) It is incorrect to use permutation here, as there can be ties.
1) No point to go any further. Let's stop right here