BYJU'S interview question

Coding Question -Arrays (duplicate element ) -Kth permutation - one missing & one repeating