Need Help in Combinatorics Problem
This is the problem statement. Here is the editorial. I understood the editorialist solution. But I want to solve this problem using Combinatorics(using Permutations and Combinations). Any help will be highly appreciated. Thank You.