LeetCode 597: Friend Requests I: Overall Acceptance Rate
Problem Restatement We are given two tables: FriendRequest and RequestAccepted . FriendRequest records friend requests sent from one user to another. RequestAccepted records accepted friend requests. We need to compute the overall acceptance rate: number of unique accepted requests / number of unique sent requests The result should be rounded to two decimal places and returned as accept_rate . Important details: Duplicate requests between the same sender and receiver count...