Sort Colors and Sizes
Given a list of items where each item is represented as [Color, Size]. You are required to return a list of all colors and a list of all sizes, with sizes sorted in ascending order. You are not allowe...
Example
Unlock to view complete problem details
and practice with sample input/output
Was this article helpful?
View Test Cases & Run Code requires membership
Standard Input
Execution Result:
