3 Sum | Brute, Better & Optimized Approach with Codes | Leetcode 15

  Рет қаралды 32,373

Apna College

Apna College

Күн бұрын

Пікірлер: 114
@riyansh_0019
@riyansh_0019 Ай бұрын
*"मां सरस्वती जल्द ही सभी के सपनों को पूरा करे,,❤❤😊..!!*
@naniscrazychannel537
@naniscrazychannel537 Ай бұрын
Starving for your dsa videos❤
@UmairJaved-m6e
@UmairJaved-m6e Ай бұрын
ap ki vedio bohat achi hoti ha bohat hi jaldi samaj ha a jati ha
@Ravi-vr3xc
@Ravi-vr3xc Ай бұрын
Yes
@HiddenKnowledge-mw1bn
@HiddenKnowledge-mw1bn 5 күн бұрын
so what?
@Ravi-vr3xc
@Ravi-vr3xc 4 күн бұрын
@@HiddenKnowledge-mw1bn so what kya hota h pdai karle, varna yhi bolta betha rhega, achi bat smjh nhi aati tumko
@Shaswat_Shrivas
@Shaswat_Shrivas Ай бұрын
Lecture completed! This problem took me much longer to solve than the others. Thank you, ma'am, for making it easy and understandable.
@riyansh_0019
@riyansh_0019 Ай бұрын
*"ओम नमो भगवते वासुदेवाय नमः,,❤❤😊....!!!*
@Rajakumar29sep
@Rajakumar29sep 23 күн бұрын
Thankyou ✨Complete ✨
@MayanCoding
@MayanCoding Ай бұрын
Excellent explain ma'am ji ❤
@himanshukumar7466
@himanshukumar7466 27 күн бұрын
Lecture 38 completed on 29 Nov 2024 ❤Loved the Hashing Approach
@PrashChandra71
@PrashChandra71 Ай бұрын
Done Today's Lecture❤
@asnighoshdastider1971
@asnighoshdastider1971 Ай бұрын
Thank you so much!!! 😁
@AkankshaPawar-p7g
@AkankshaPawar-p7g Ай бұрын
Completed 👍
@CineCrave_Sriese-t6e
@CineCrave_Sriese-t6e Ай бұрын
lecture complete👍👍
@azharalibhutto1209
@azharalibhutto1209 Ай бұрын
Thank you for DSA
@ky-rajput
@ky-rajput Ай бұрын
Shadra Didi really appreciate your efforts for making us ❤️‍🩹 professional level coder
@ssk4875
@ssk4875 7 күн бұрын
lec completed today 👍
@MayanCoding
@MayanCoding Ай бұрын
I am first person who is complete watch this video ❤
@MarketerVinod
@MarketerVinod Ай бұрын
@@MayanCoding Congratulations
@ArchanaVishwakarma-zs7qm
@ArchanaVishwakarma-zs7qm Ай бұрын
Thank you didi
@whatshortacrap7797
@whatshortacrap7797 22 күн бұрын
12:50 Since the set maintains uniqueness and sorting ensures consistency, the if check is redundant ig?
@DIBYENDU_MALLICK
@DIBYENDU_MALLICK Ай бұрын
Complete ✅
@growtogether8014
@growtogether8014 Ай бұрын
Step1: find the unique combinations of triplet. Step2: add each triplet, if it returns 0 add it to result.
@Intelli_Jayant
@Intelli_Jayant Ай бұрын
completed ❣️
@SagarMaheshwariS
@SagarMaheshwariS Ай бұрын
Day 38 completed ✅
@Shortedit-o5f
@Shortedit-o5f Ай бұрын
Completed!
@salmanmehmood470
@salmanmehmood470 Ай бұрын
Nice 🙂
@nabin-x4f
@nabin-x4f Ай бұрын
Completed on November 14 2024, 10:28pm.
@earthlinkdesignersedtech3531
@earthlinkdesignersedtech3531 17 күн бұрын
completed lecture - 38 💪🔥 - WAITING FOR SHRADHA DIDI TO LIKE MY COMMENTS
@Glorytroly9092
@Glorytroly9092 Ай бұрын
It would be great if.. 1]Please launch a course On DATA SCIENCE AND ML 2]Also MORE VIDEOS on Python ....
@vedictechyog
@vedictechyog Ай бұрын
very nice!
@ayushburde1
@ayushburde1 13 күн бұрын
interesting thaa , but has anyone thought why we are not checking the same elm for K ?? I just checked it out on GPT
@rockygaming3663
@rockygaming3663 Ай бұрын
In optimised soln what if the question was to return thr indices of the array that add upto the sum
@NidhishAbraham
@NidhishAbraham 2 күн бұрын
Sort the array, but we also need to keep track of the original indices of the elements. Create an array of pairs (value, index) to track the original indices.
@abrarbinarafat
@abrarbinarafat Ай бұрын
ma'ma🥰🥰🥰🥰
@Soumyadeep_Chakraborty1
@Soumyadeep_Chakraborty1 Ай бұрын
Day 39 ✅
@SHAILESHRAUT-MH22.
@SHAILESHRAUT-MH22. Ай бұрын
Man bsc it lecture please ❤❤
@Goldy-w3z
@Goldy-w3z Ай бұрын
15/11/2024 lecture 38 completed!
@shushil-lYadav9
@shushil-lYadav9 Ай бұрын
❤❤❤
@akshay.ppvvtt
@akshay.ppvvtt 6 күн бұрын
agar set use kiya he toh find kya karne ki zarurat dirct insert kar sakte he na maam !
@theravi__01
@theravi__01 6 күн бұрын
Mam agar vo custom hash likhana hota to kya h vo unordered set k liye??
@chaitanyakhare1869
@chaitanyakhare1869 25 күн бұрын
completed 13 Dec
@singhroshan-tw5eq
@singhroshan-tw5eq Ай бұрын
😊😊😊😊
@kevalkanpariya
@kevalkanpariya Ай бұрын
Why the optimal solution is having T.C. n^2 + nlogn and not order of n? That means we can't optimise it further?
@chandramauleshwarupadhyay3160
@chandramauleshwarupadhyay3160 Ай бұрын
Nov 23♥️♥️
@luck-i6x
@luck-i6x Ай бұрын
Hello bahen Mera aek question he Kya biology vale student DATA SCIENTIST ban sakte he kya
@Prince_Yadav137
@Prince_Yadav137 Ай бұрын
Online MCA+skills full stack development with Sigma 4.0 vs offline regular MCA which is best?
@shwetakumari1002
@shwetakumari1002 25 күн бұрын
lecture 38 completed on 1st dec
@PRASHANTSHRINGI
@PRASHANTSHRINGI Ай бұрын
Done
@BabuSaurya9
@BabuSaurya9 Ай бұрын
My first comment 🎉
@sandeepmehta-e9l
@sandeepmehta-e9l Ай бұрын
Attendance - Shiv is present Didi 😇🥰☺
@UmairJaved-m6e
@UmairJaved-m6e Ай бұрын
please make also vedio about web scraping streamlit in and all related this in python
@Glorytroly9092
@Glorytroly9092 Ай бұрын
Please launch a course On DATA SCIENCE AND ML Also MORE VIDEOS on Python ....
@kathanzula1973
@kathanzula1973 Ай бұрын
If outer loop is running till end and inner loops are 1+ the outer indexs at i =n-1 ,j = n giving a segment fault why did you not get it
@SaurabhKumar-ki7cs
@SaurabhKumar-ki7cs Ай бұрын
done
@metrocitydelhi5498
@metrocitydelhi5498 Ай бұрын
1st comment😊
@Sunnychaudhary5609
@Sunnychaudhary5609 Ай бұрын
done mam
@ashu.abhi24
@ashu.abhi24 Ай бұрын
Shouldn’t O(nlogn + n^2) ≈ O(n^2) as for large n , n^2>> nlogn
@NidhishAbraham
@NidhishAbraham 2 күн бұрын
O(n log n + n^2) for large 𝑛, and the overall time complexity of the optimized 3Sum solution is O(n^2).
@Ak_YouTube_creater
@Ak_YouTube_creater Ай бұрын
Thik hai
@Keshriruhi5643
@Keshriruhi5643 Ай бұрын
Di plz makes video of c language
@Prince_Yadav137
@Prince_Yadav137 Ай бұрын
Online MCA ka kya scope h
@UmairJaved-m6e
@UmairJaved-m6e Ай бұрын
and AI agents Api handling in python
@kiransoni8712
@kiransoni8712 Ай бұрын
Day 39 13/11/24 😊
@subhadipchakraborty9490
@subhadipchakraborty9490 Ай бұрын
Mam plz teach dsa with python also
@ajmatclub5023
@ajmatclub5023 Ай бұрын
Hello ma'am
@ahmadullah3148
@ahmadullah3148 Ай бұрын
Mam I m really wanted to access your web development course but mam pak vs India rivalry make much trouble for me😊, I can't send course fee to you through any platform
@Lucy-mixup
@Lucy-mixup Ай бұрын
Didi me python learn kr rha hu so ye dsa ki series ko padhu ya nhi
@pushpendrasingh9841
@pushpendrasingh9841 Ай бұрын
hey guys is there any Notes of these lectures
@VarunJain-ii1mn
@VarunJain-ii1mn Ай бұрын
Completed
@ujjwalsharma5663
@ujjwalsharma5663 Ай бұрын
present
@SonuKumar701
@SonuKumar701 Ай бұрын
Which programming language is so popular comment down below 👇
@Nick_margaj
@Nick_margaj 23 күн бұрын
Vote for laptop guide 👇🏻
@Nightmare39039
@Nightmare39039 Ай бұрын
Sis please help me.... How I dual boot blackarch linux and windows 11.... Without using a virtual box.... In my pc I am using windows 11... But I also want to use black arch.... But how I manually change from one operating system to another......
@NidhishAbraham
@NidhishAbraham 2 күн бұрын
To switch between Windows 11 and BlackArch (or any other Linux distribution) on your PC, you can set up a dual boot system. A dual boot allows you to install both operating systems on the same computer and choose which one to boot into when you start up the PC.
@kushalt2727
@kushalt2727 Ай бұрын
First view and 1st comment
@Daminifashion_21
@Daminifashion_21 Ай бұрын
Ai course And ML Course kab ayega
@Simple_learn123
@Simple_learn123 Ай бұрын
Brute force wala set part Java me kaise implement hoga?? What is set anyone
@NidhishAbraham
@NidhishAbraham 2 күн бұрын
Set result = new HashSet(); // Store the indices of the triplet in the result set List triplet = new ArrayList(Arrays.asList(i, j, k)); Collections.sort(triplet); // Sort to avoid different permutations of same triplet result.add(triplet);
@nikitasharma7209
@nikitasharma7209 2 күн бұрын
43:12 😂
@ganeshgiri-pb3cq
@ganeshgiri-pb3cq Ай бұрын
Fast subscribe ❤❤
@VERTBHAI.07
@VERTBHAI.07 Ай бұрын
Didi AMD Ryzen or Intel core me se konsa processor accha hai
@shivamprakash02
@shivamprakash02 Ай бұрын
Intel le le bhai
@shivamsinghchauhan930
@shivamsinghchauhan930 Ай бұрын
Ryzen ki battery kam chalti hai
@punisher0097
@punisher0097 21 күн бұрын
Intel
@ApurvSahu-s4m
@ApurvSahu-s4m Ай бұрын
completed 11/12/2024
@Keshriruhi5643
@Keshriruhi5643 Ай бұрын
Di BCA me maths kaise pdhe
@kashishjuneja5214
@kashishjuneja5214 2 күн бұрын
24/12/24
@tejavathanil8194
@tejavathanil8194 Ай бұрын
Hii madam
@rks1924
@rks1924 20 күн бұрын
i thought it is something else 3-SUM
@Akshatai
@Akshatai Ай бұрын
First comment ❤
@Oggy-com
@Oggy-com Ай бұрын
Didi hello
@FinanceFactFinder
@FinanceFactFinder Ай бұрын
Please mam, upload all these videos for Java language.
@abrarbinarafat
@abrarbinarafat Ай бұрын
while(j
@gouravraghuwanshi5422
@gouravraghuwanshi5422 29 күн бұрын
Bhai 3some 🙂
@RajAryan-n8k
@RajAryan-n8k 25 күн бұрын
You thought we thought but no one taking about it mam lines threesome 😁
@MayanCoding
@MayanCoding Ай бұрын
Support me
@riturajagnihotri8145
@riturajagnihotri8145 Ай бұрын
🙌🫸🫷🙏
@shoibakhtarsid
@shoibakhtarsid Ай бұрын
java me code karo didi
@sagardubey9807
@sagardubey9807 Ай бұрын
Hello, l am watching your videos in first time , can l get your num..... 😅😊😊
@uditvarshney3653
@uditvarshney3653 Ай бұрын
Bhai plz problems ke naam aise mat rakha karo
@AdityaSrivastava-ig5nx
@AdityaSrivastava-ig5nx Ай бұрын
First
@raghavendraplays3587
@raghavendraplays3587 Ай бұрын
Pin me fouth comment didi😊
@digitalchy5241
@digitalchy5241 Ай бұрын
Leetcode kya hain ? Yeh koi new programming language hain kya???
@MarketerVinod
@MarketerVinod Ай бұрын
एक वेबसाइट जहाँ अपनी कोडिंग स्किल्स टेस्ट करवाते हैं अलग अलग सा प्रॉब्लम की जरिये से. Easy, moderate, difficult types के सवाल होते हैं
@nothingidontknow6392
@nothingidontknow6392 Ай бұрын
@@digitalchy5241 IT'S AN ONLINE CODING PLATFORM WHERE YOU CAN PRACTICE DSA BY SOLVING PROBLEMS THAT ARE AVAILABLE AS TOPIC WISE AS WELL AS DIFFICULTY WISE LIKE EASY MEDIUM AND HARD. HERE YOU CAN FIND THE TOP ASKED INTERVIEW QUESTIONS AND ALSO PARTICIPATE IN CONTESTS.
@Imortexm
@Imortexm Ай бұрын
Thankyou mam 👍
@Lili-j8q8f
@Lili-j8q8f Ай бұрын
done
@roshanchaudhary4080
@roshanchaudhary4080 Ай бұрын
❤❤
@pushpendrasingh9841
@pushpendrasingh9841 Ай бұрын
hey guys is there any Notes of these lectures
@AjaykumarYadav-de9it
@AjaykumarYadav-de9it Ай бұрын
Thank you didi
Subarray Sum Equals K | Brute-Better-Optimal approach
34:45
Apna College
Рет қаралды 21 М.
3 Sum | Brute -  Better - Optimal with Codes
38:25
take U forward
Рет қаралды 370 М.
Quando A Diferença De Altura É Muito Grande 😲😂
00:12
Mari Maria
Рет қаралды 45 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
Сестра обхитрила!
00:17
Victoria Portfolio
Рет қаралды 958 М.
DevOps Complete Guide for 2025
18:10
Apna College
Рет қаралды 173 М.
Combination Sum Problem | Recursion & Backtracking
23:35
Apna College
Рет қаралды 13 М.
N-Queens Problem | using Backtracking | Leetcode Hard
24:26
Apna College
Рет қаралды 24 М.
How I would learn Leetcode if I could start over
18:03
NeetCodeIO
Рет қаралды 736 М.
Sort an Array of 0s, 1s & 2s | DNF Sorting Algorithm | Leetcode 75
33:39
Rat in a Maze Problem | Backtracking
32:45
Apna College
Рет қаралды 20 М.
4 Sum | Brute - Better - Optimal with Codes
28:47
take U forward
Рет қаралды 195 М.