LeetCode 602: Friend Requests II: Who Has the Most Friends
Problem Restatement We are given a table called RequestAccepted . Each row means one friend request was accepted. Column Type Meaning requester_id int The user who sent the friend request accepter_id int The user who accepted the friend request accept_date date The date when the request was accepted We need to find the user who has the most friends and return: Column Meaning id The user id num The number...