Solving the most complex SQL Problem on LeetCode | SQL Interview Question and Answer
HTML-код
- Опубликовано: 21 сен 2024
- In this video, we will solve the most complex SQL problem on LeetCode.
The problem is the LeetCode 1917. Leetcodify Friends Recommendation problem.
The problem is mentioned as HARD in LeetCode but after you see my solution, you may wonder if this was a MEDIUM problem (I definitely think so).
LeetCode problem link:
leetcode.com/p...
Download the scripts and dataset from below:
techtfq.com/bl...
Thanks for watching!
Sir leetcode sql premium questions are difficult. Would appreciate few more videos on this topic.
Please do more leet code problems bro it helps us to understand complex problems
This guy is a SQL genius
Please do more leet code problems
sir please come up with a series❤
instead of l1.user_id < l2.user_id we can write l1.user_id !=l2.user_id so that we do not have to union the table at the end
He's crazy talented man 🤯 kudos
Please do more leetcode complex problem
Could you please do more leet code problems?
Thank you very much! very very helpful. Look forward to more such problems.
@techtfq sir please leetcode SQL problem solution series please
Nice. Be posting leetcode solutions for sql.
It's a good approach, but have one doubt do we need the valid_user cte?. Because we are anyway filtering it using having in a freinds cte.
Sir, I am clicking this question then require subscribe to unlock. Can you suggest me how it will open.
For what roles are such questions asked in the interview, sir?
please teach us by reference of KORTH BOOK
Rodriguez Jessica Walker Eric Thompson Charles