You are given reviews, a list of dictionaries. Each dictionary has the keys 'review_id' (int), 'user_id' (int) and 'rating' (int). You are also given min_reviews (int).
Count how many reviews each user_id wrote. Return a set of the user_id values that appear in strictly more than min_reviews reviews.
If no user qualifies, return an empty set.
NOTE: This is a function-type question — you only write the function. Do not read input or print anything; a hidden checker calls your function and checks its return value.
Arguments
[{'review_id': 1, 'user_id': 7, 'rating': 5}, {'review_id': 2, 'user_id': 7, 'rating': 4}, {'review_id': 3, 'user_id': 9, 'rating': 3}]
1
Returns
{7}