2364. Count Number of Bad Pairs
Permutation: in order. n!/(n – m)! Combination: order not considered. n!/((n – m)! * m!) Key point of this problem is to transfer i…
Permutation: in order. n!/(n – m)! Combination: order not considered. n!/((n – m)! * m!) Key point of this problem is to transfer i…