Task: Transform Grouped Data with Custom Keys Using Lodash
Task: Transform Grouped Data with Custom Keys Using Lodash: a task in Terminal-Lego-15k (Harbor dataset). You are working with API data that needs to be restructured. Given an array of user objects, you need to write a JavaScript solution that groups users by their color property and transforms…
The task
You are working with API data that needs to be restructured. Given an array of user objects, you need to write a JavaScript solution that groups users by their `color` property and transforms the output into a specific format with custom keys.
Part of PrimeIntellect/Terminal-Lego-15k.