Watch and track your favorite playlist.
Curated by: Everyday Data Science (140 videos)
Question: https://leetcode.com/problems/all-the-pairs-with-the-maximum-number-of-common-followers/description/ SQL Schema: Create table If Not Exists Relations (user_id int, follower_id int) Truncate table Relations insert into Relations (user_id, follower_id) values ('1', '3') insert into Relations (user_id, follower_id) values ('2', '3') insert into Relations (user_id, follower_id) values ('7', '3') insert into Relations (user_id, follower_id) values ('1', '4') insert into Relations (user_id, follower_id) values ('2', '4') insert into Relations (user_id, follower_id) values ('7', '4') insert into Relations (user_id, follower_id) values ('1', '5') insert into Relations (user_id, follower_id) values ('2', '6') insert into Relations (user_id, follower_id) values ('7', '5') In this video I solve and explain a medium difficulty leetcode SQL question using MySQL query. This question has been asked in Apple, Facebook, Amazon, Google, Adobe, Microsoft, Adobe interviews or what we popularly call FAANG interviews. I explain the related concept as well. This question includes points to keep in mind to develop SQL queries. LeetCode is the best platform to help you enhance your skills, expand your knowledge and prepare for technical interviews. If you found this helpful, Like and Subscribe to the channel for more content. #LeetCodeSQL #FAANG #SQLinterviewQuestions