Coding Challenge · INTERMEDIATE
A video conferencing platform needs to display a summary of attendees for each meeting. Given an array of attendee objects, each with a 'name' and 'role' (such as 'host', 'guest', or 'presenter'), create a summary object that counts how many attendees have each role. The objective is to return an object mapping each ro…