DockYard-Academy / curriculum

MIT License
945 stars 245 forks source link

Create a group_by problem for the reduce section #1048

Open BrooklinJazz opened 1 year 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}]}