Admit
SEP 20
#1220
Daily · Sunday, September 20
There are n people, each person has a unique id between 0 and n-1. Given the arrays watchedVideos and friends, where watchedVideos[i] and friends[i] contain the…