Skip to content
Avio Lines
Q3

Joins

49 stations · 8.1h

Inner, left, self and cross joins, and finding rows that have no match. 49 interview problems explained by Everyday Data Science (8.1h of video), grouped into 4 patterns such as Self join, Rows with no match (anti join), Cross join (all combinations).

Start this line →
problems by zone (pattern)
  • Self join18
  • Rows with no match (anti join)3
  • Cross join (all combinations)4
  • Multi-table join17
  • Other21
  1. Self join

    0 of 18 passed
  2. EasyGoogle · Amazon · +8 more companiesLeetCode ↗ (opens in a new tab)
  3. Warehouse ManagerLC 1571 · 7:57 · LeetCode Premium
    EasyAmazonLeetCode ↗ (opens in a new tab)
  4. All People Report to the Given ManagerLC 1270 · 26:26 · LeetCode Premium
    MediumGoogle · AmazonLeetCode ↗ (opens in a new tab)
  5. Second Degree FollowerLC 614 · 6:15 · LeetCode Premium
    MediumLeetCode ↗ (opens in a new tab)
  6. Server Utilization TimeLC 3126 · 12:10 · LeetCode Premium
    MediumLeetCode ↗ (opens in a new tab)
  7. Leetcodify Similar FriendsLC 1919 · 7:30 · LeetCode Premium
    HardSpotifyLeetCode ↗ (opens in a new tab)
  8. Leetcodify Friends RecommendationsLC 1917 · 9:07 · LeetCode Premium
    HardSpotifyLeetCode ↗ (opens in a new tab)
  9. Strong FriendshipLC 1949 · 11:13 · LeetCode Premium
    MediumGoogle · MetaLeetCode ↗ (opens in a new tab)
  10. Find Overlapping ShiftsLC 3262 · 6:10 · LeetCode Premium
    MediumLeetCode ↗ (opens in a new tab)
  11. Find Overlapping Shifts IILC 3268 · 10:03 · LeetCode Premium
    HardLeetCode ↗ (opens in a new tab)
  12. Rows with no match (anti join)

    0 of 3 passed
  13. Cross join (all combinations)

    0 of 4 passed
  14. EasyGoogle · Amazon · +5 more companiesLeetCode ↗ (opens in a new tab)
  15. All the Matches of the LeagueLC 2339 · 5:20 · LeetCode Premium
    EasyMicrosoftLeetCode ↗ (opens in a new tab)
  16. Form a Chemical BondLC 2480 · 4:22 · LeetCode Premium
    EasyLeetCode ↗ (opens in a new tab)
  17. Multi-table join

    0 of 17 passed
  18. Total Traveled DistanceLC 2837 · 5:02 · LeetCode Premium
    EasyLeetCode ↗ (opens in a new tab)
  19. Form a Chemical BondLC 2480 · 4:22 · LeetCode Premium
    EasyLeetCode ↗ (opens in a new tab)
  20. Second Degree FollowerLC 614 · 6:15 · LeetCode Premium
    MediumLeetCode ↗ (opens in a new tab)
  21. Tournament WinnersLC 1194 · 10:24 · LeetCode Premium
    HardWayfairLeetCode ↗ (opens in a new tab)
  22. Server Utilization TimeLC 3126 · 12:10 · LeetCode Premium
    MediumLeetCode ↗ (opens in a new tab)
  23. Page Recommendations IILC 1892 · 10:27 · LeetCode Premium
    HardMetaLeetCode ↗ (opens in a new tab)
  24. Strong FriendshipLC 1949 · 11:13 · LeetCode Premium
    MediumGoogle · MetaLeetCode ↗ (opens in a new tab)
  25. Find Overlapping ShiftsLC 3262 · 6:10 · LeetCode Premium
    MediumLeetCode ↗ (opens in a new tab)
  26. Find Overlapping Shifts IILC 3268 · 10:03 · LeetCode Premium
    HardLeetCode ↗ (opens in a new tab)
  27. Other

    0 of 21 passed
  28. Combine Two TablesLC 175 · 13:24
    EasyGoogle · Amazon · +6 more companiesLeetCode ↗ (opens in a new tab)
  29. Employee BonusLC 577 · 6:53
    EasyGoogle · Amazon · +5 more companiesLeetCode ↗ (opens in a new tab)
  30. EasyGoogle · Amazon · +7 more companiesLeetCode ↗ (opens in a new tab)
  31. Top TravellersLC 1407 · 12:47
    EasyGoogle · Point72LeetCode ↗ (opens in a new tab)
  32. NPV QueriesLC 1421 · 7:30 · LeetCode Premium
    EasyAmazonLeetCode ↗ (opens in a new tab)
  33. Grand Slam TitlesLC 1783 · 14:19 · LeetCode Premium
    MediumAmazonLeetCode ↗ (opens in a new tab)
  34. EasyGoogle · Amazon · +5 more companiesLeetCode ↗ (opens in a new tab)
  35. Count Apples and OrangesLC 1715 · 8:59 · LeetCode Premium
    MediumLeetCode ↗ (opens in a new tab)
  36. Market Analysis ILC 1158 · 9:08
    MediumGoogle · Amazon · +2 more companiesLeetCode ↗ (opens in a new tab)
  37. Rectangles AreaLC 1459 · 10:39 · LeetCode Premium
    MediumXLeetCode ↗ (opens in a new tab)
  38. Ad-Free SessionsLC 1809 · 7:57 · LeetCode Premium
    EasyAmazonLeetCode ↗ (opens in a new tab)
  39. Shortest Distance in a PlaneLC 612 · 11:28 · LeetCode Premium
    MediumMetaLeetCode ↗ (opens in a new tab)

All 49 stations in order

  1. 1.Combine Two Tables (LeetCode 175)
  2. 2.Employees Earning More Than Their Managers (LeetCode 181)
  3. 3.Employee Bonus (LeetCode 577)
  4. 4.Shortest Distance in a Line (LeetCode 613)
  5. 5.Students and Examinations (LeetCode 1280)
  6. 6.Replace Employee ID With The Unique Identifier (LeetCode 1378)
  7. 7.Top Travellers (LeetCode 1407)
  8. 8.NPV Queries (LeetCode 1421)
  9. 9.Warehouse Manager (LeetCode 1571)
  10. 10.Customer Who Visited but Did Not Make Any Transactions (LeetCode 1581)
  11. 11.Grand Slam Titles (LeetCode 1783)
  12. 12.All People Report to the Given Manager (LeetCode 1270)
  13. 13.Product Sales Analysis I (LeetCode 1068)
  14. 14.Count Apples and Oranges (LeetCode 1715)
  15. 15.Accepted Candidates From the Interviews (LeetCode 2041)
  16. 16.Number of Times a Driver Was a Passenger (LeetCode 2238)
  17. 17.Market Analysis I (LeetCode 1158)
  18. 18.Rectangles Area (LeetCode 1459)
  19. 19.Ad-Free Sessions (LeetCode 1809)
  20. 20.Countries You Can Safely Invest In (LeetCode 1501)
  21. 21.Count Student Number in Departments (LeetCode 580)
  22. 22.Count the Number of Experiments (LeetCode 1990)
  23. 23.The Number of Employees Which Report to Each Employee (LeetCode 1731)
  24. 24.The Number of Seniors and Juniors to Join the Company (LeetCode 2004)
  25. 25.All the Matches of the League (LeetCode 2339)
  26. 26.Product's Worth Over Invoices (LeetCode 1677)
  27. 27.Shortest Distance in a Plane (LeetCode 612)
  28. 28.Calculate the Influence of Each Salesperson (LeetCode 2372)
  29. 29.Total Traveled Distance (LeetCode 2837)
  30. 30.Form a Chemical Bond (LeetCode 2480)
  31. 31.Second Degree Follower (LeetCode 614)
  32. 32.Tournament Winners (LeetCode 1194)
  33. 33.All Valid Triplets That Can Represent a Country (LeetCode 1623)
  34. 34.Server Utilization Time (LeetCode 3126)
  35. 35.Number of Trusted Contacts of a Customer (LeetCode 1364)
  36. 36.Page Recommendations II (LeetCode 1892)
  37. 37.Leetcodify Similar Friends (LeetCode 1919)
  38. 38.Leetcodify Friends Recommendations (LeetCode 1917)
  39. 39.Strong Friendship (LeetCode 1949)
  40. 40.The Number of Seniors and Juniors to Join the Company II (LeetCode 2010)
  41. 41.Calculate Product Final Price (LeetCode 3293)
  42. 42.Friends With No Mutual Friends (LeetCode 3058)
  43. 43.Find Students Who Improved (LeetCode 3421)
  44. 44.Team Dominance by Pass Success (LeetCode 3384)
  45. 45.Find Overlapping Shifts (LeetCode 3262)
  46. 46.Find Overlapping Shifts II (LeetCode 3268)
  47. 47.Find Product Recommendation Pairs (LeetCode 3521)
  48. 48.Find Books with No Available Copies (LeetCode 3570)
  49. 49.Find Category Recommendation Pairs (LeetCode 3554)