Problem 2356 · Easy
Count the distinct subjects each teacher covers from a table with repeated rows.
Open the interactive visualisation