Python - List of N size increasing lists
Given integer N and M, construct increasing list till M, each list being N size i.e all combinations lists. Input : N = 2, M = 3 Output : [(1, 2), (1, 3), (2, 3)] Explanation : Increasing paired elements. Input : N = 1, M = 4 Output : [(1, ), (2, ), (3, ), (4, )] Explanation : Increasing paired elem