Back to Browse

GOOGLE LeetCode Hard 1767 “Subtasks That Did Not Execute" Interview SQL Question Explanation | EDS

2.4K views
Nov 13, 2022
10:26

Question: https://leetcode.com/problems/find-the-subtasks-that-did-not-execute/description/ SQL Schema: Create table If Not Exists Tasks (task_id int, subtasks_count int) Create table If Not Exists Executed (task_id int, subtask_id int) Truncate table Tasks insert into Tasks (task_id, subtasks_count) values ('1', '3') insert into Tasks (task_id, subtasks_count) values ('2', '2') insert into Tasks (task_id, subtasks_count) values ('3', '4') Truncate table Executed insert into Executed (task_id, subtask_id) values ('1', '2') insert into Executed (task_id, subtask_id) values ('3', '1') insert into Executed (task_id, subtask_id) values ('3', '2') insert into Executed (task_id, subtask_id) values ('3', '3') insert into Executed (task_id, subtask_id) values ('3', '4') In this video I solve and explain a HARD 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

Download

1 formats

Video Formats

360pmp414.2 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

GOOGLE LeetCode Hard 1767 “Subtasks That Did Not Execute" Interview SQL Question Explanation | EDS | NatokHD