You are given an integer find all permutations of the integer by arranging its digits and pick up the first k smallest integers. Find their average and divide them(k integers) into two groups based on the average value, one with values larger than average and one with values smaller than average the return the largest and smallest values of the smaller and larger group respectively.
Answers
Answered by
0
Step-by-step explanation:
ohhh such a huge question.....
Similar questions