Friends With No Mutual Friends (LeetCode 3058)
MediumLeetCode 3058 · Self join · 8:47· LeetCode PremiumLeetcode MEDIUM 3058 - Friends With No Mutual Friends - SELF JOINS in SQL · Everyday Data ScienceMy notes
Sign in to keep private notes on every station, with video timestamps.
Pause here and write your approach in two lines. Compare it with MIK's when the video ends.
Sign in to write your approach →About this video
Video solution for LeetCode 3058 Friends With No Mutual Friends by Everyday Data Science: Joins, Medium. Topics: Database. Watch the explanation, then solve it on LeetCode.
- Difficulty
- medium
- Topics
- Database
- Patterns
- Self join, Rows with no match (anti join), Multi-table join
- Chapter
- Joins
- Duration
- 8:47
Related problems
- Employees Earning More Than Their Managers (LeetCode 181)
- Warehouse Manager (LeetCode 1571)
- Customer Who Visited but Did Not Make Any Transactions (LeetCode 1581)
- All People Report to the Given Manager (LeetCode 1270)
- The Number of Employees Which Report to Each Employee (LeetCode 1731)
- The Number of Seniors and Juniors to Join the Company (LeetCode 2004)
- Total Traveled Distance (LeetCode 2837)
- Form a Chemical Bond (LeetCode 2480)