DockYard-Academy / curriculum

MIT License
984 stars 252 forks source link

Create a group_by problem for the reduce section #1048

Closed BrooklinJazz closed 1 month ago

BrooklinJazz commented 1 year ago

Group reminders by user id.

[%{user_id: 1}, %{user_id: 1}, %{user_id: 2}] -> %{1 => [%{user_id: 1}, %{user_id: 1}], 2 => [%{user_id: 2}]}