LeetCode #15: 3Sum | Coding Interview Question

  Рет қаралды 13,451

Algo Engine

Algo Engine

Күн бұрын

Пікірлер: 30
@voiceofvaishhhh
@voiceofvaishhhh Жыл бұрын
Love your channel! Every time I see your solution on Leetcode, I get relieved because I know there's a good ass visual explanation coming up :)
@armanhabib353
@armanhabib353 Жыл бұрын
you are a very good teacher
@manavjuluru3298
@manavjuluru3298 Жыл бұрын
Came here directly from the solutions window on leetcode and this was amazing man. I was confused about updating the pointers but now i get it thanks to you. Keep up the good work!
@pradat1629
@pradat1629 6 ай бұрын
You Are The Best Educater In The World.
@dnm9931
@dnm9931 9 ай бұрын
Love how you visually explain videos, please be adding time and space complexity analysis! You are highly appreciated!
@jpkeys6000
@jpkeys6000 Жыл бұрын
Please continue making more videos, the quality is unrivaled!
@JiNZel92
@JiNZel92 Жыл бұрын
The visuals go brrrr, they help so much, thanks!
@Speklc
@Speklc 11 ай бұрын
Love how you linked ur explanations to the visual aids. :)
@sohsueping9560
@sohsueping9560 Жыл бұрын
Looking forward to learn from this video! I have 8 backlogged videos to watch from your channel! Thank you for persisting in making the videos!
@nitkarshchourasia2406
@nitkarshchourasia2406 Жыл бұрын
Keep making videos. Congrats, brother.
@alperenakbas9811
@alperenakbas9811 Жыл бұрын
The problem was very well explained. Thank you for making this video, it was very helpful for me!
@LMGaming0
@LMGaming0 4 ай бұрын
Amazing solution!
@ManpreetKaur-gk7ou
@ManpreetKaur-gk7ou Жыл бұрын
please create more vdos, they are really helpful.....i am preparing for my interview. finally someone explaining things in python please please make more vdos
@hubertgiza3843
@hubertgiza3843 Жыл бұрын
My first attempt was N^2*logN with double loop and bin search and it was too slow for tests. This solution is very elegant and pretty easy to understand. Now I feel kind of stupid that I couldn't think of it by myself :D Still, good job. The video is very well done. Thank you!
@mahalakshmimahalakshmi248
@mahalakshmimahalakshmi248 Жыл бұрын
The video you made is good, we are learning a lot from it, please make more videos.. Thank you
@DemonicEntity-xm9og
@DemonicEntity-xm9og Жыл бұрын
Your videos are very useful and insightful Plus informative Even thou im just a beginner, it shows the amount of possibilities and things i haven't tried yet Love
@totallybored6383
@totallybored6383 Жыл бұрын
this is amazing! i find it very easy to understand, thank you
@auniquehandle
@auniquehandle 10 ай бұрын
this explanation is so good. i sub
@RomanUnreal
@RomanUnreal Жыл бұрын
thx for this video
@RahulYadav-et1le
@RahulYadav-et1le Жыл бұрын
good explanation. what is the time complexity? is it O(nlogn)?
@AlgoEngine
@AlgoEngine Жыл бұрын
O(n^2) since there are two inner loops that are both O(n)
@dmitrypatriarkh9757
@dmitrypatriarkh9757 3 ай бұрын
Who adapting this for typescript and still gets error, check if you're correctly sorting array in the start
@ManpreetKaur-gk7ou
@ManpreetKaur-gk7ou Жыл бұрын
👌👌👌👌👌
@VaishnaviMamilla
@VaishnaviMamilla Жыл бұрын
I think no need to handle duplicates from right hand side right?
@AlgoEngine
@AlgoEngine Жыл бұрын
You do. Duplicates can appear on both the left and right sides.
@qqbeau567ABCSnow
@qqbeau567ABCSnow 9 ай бұрын
I always get Time Limit Exceeded when large arrays using this code. in C++. How can I solve it?
@qqbeau567ABCSnow
@qqbeau567ABCSnow 9 ай бұрын
Solved. It's because I write while condition wrong.
@HistoryHouse45
@HistoryHouse45 Жыл бұрын
you are goat
@uriel2319
@uriel2319 Жыл бұрын
'Promo SM'
@mahalakshmimahalakshmi248
@mahalakshmimahalakshmi248 Жыл бұрын
The video you made is good, we are learning a lot from it, please make more videos.. Thank you
3-Sum | Leetcode 15 | PYTHON POINTER SOLUTION
19:19
Cracking FAANG
Рет қаралды 1,1 М.
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
HARD_MMA
Рет қаралды 3,3 МЛН
А я думаю что за звук такой знакомый? 😂😂😂
00:15
Денис Кукояка
Рет қаралды 4,7 МЛН
МЕНЯ УКУСИЛ ПАУК #shorts
00:23
Паша Осадчий
Рет қаралды 5 МЛН
4Sum - Leetcode 18 - Python
15:28
NeetCode
Рет қаралды 82 М.
3Sum - Leetcode 15 - 2 Pointers (Python)
9:42
Greg Hogg
Рет қаралды 13 М.
LeetCode #104: Maximum Depth of Binary Tree | Recursive DFS
6:46
3 Sum | Brute -  Better - Optimal with Codes
38:25
take U forward
Рет қаралды 354 М.
Mastering Dynamic Programming - How to solve any interview problem (Part 1)
19:41
3Sum (Updated Solution) - Leetcode 15 - Two Pointers (Python)
11:11
LeetCode 3Sum Solution Explained - Java
10:00
Nick White
Рет қаралды 201 М.
Google Coding Interview With A Facebook Software Engineer
49:59
Clément Mihailescu
Рет қаралды 946 М.
LONGEST CONSECUTIVE SEQUENCE | LEETCODE 128 | PYTHON SOLUTION
14:44
I gave 127 interviews. Top 5 Algorithms they asked me.
8:36
Sahil & Sarra
Рет қаралды 674 М.
УДИВИЛ ВСЕХ СВОИМ УХОДОМ!😳 #shorts
00:49
HARD_MMA
Рет қаралды 3,3 МЛН