1. You are given a positive number n 2. You need return all different combinations of its factors 3. Input and output is handled for you 4. It is a functional problem ,please do not modify main() NOTE: Factors must be greater than 1 and less than n For exapmple: Number: 8 Factor combinations: 2,2,4 4 2
Input Format
Input is handled for you
Output Format
Output is handled for you
Constraints
1=<n
Notice
Try First, Check Solution later
1. You should first read the question and watch the question video.2. Think of a solution approach, then try and submit the question on editor tab.3. We strongly advise you to watch the solution video for prescribed approach.Example
Input
12
Output
[2, 2, 3] [2, 6] [3, 4]