Classify the given sets based on the given input which
can be one value among: Brand / Size /Weight / Color
and display the all new sets after classification with
criteria name at the beginning of the set in sorted
order of Criteria.
Note that weights can be treated as string values, so
it may give different sorted sequence even though it's
a numeric value.
For other inputs, return: INVALID INPUT.
Example 1:
Input Values
Please enter any of the following classification
criteria for the balls
Brand
Size
Weight
Color
Answers
Answered by
0
Answer:
ugisisitusiiivujzfuxurzitursitsircixtisurz uxirskgsir
Similar questions