Merge Sorted Array | Leetcode 88

  Рет қаралды 40,389

Technosage

Technosage

Жыл бұрын

Merge Sorted Array
Leetcode problem number 88
JAVA interview programming playlist:
• Interview Programming ...
Git Repo:

Пікірлер: 52
@thAsciNileshPal
@thAsciNileshPal 3 күн бұрын
keep it up didiiiii ; U and SashCode channel doing great job ; i request u too pls come up with the series of daily leetcode potd solutionss
@pragmaticcoder6910
@pragmaticcoder6910 5 ай бұрын
Your explanations are much better than LeetCode Editorial solutions. Thanks !
@name-sn6
@name-sn6 2 күн бұрын
bro im new to this and i didnt understand anything , how to begin learning
@jopaslona1
@jopaslona1 10 ай бұрын
Thank you very much! I finally understood how to solve this problem without creating new array
@diproy9363
@diproy9363 11 ай бұрын
To the point and simple! awesome explanation.
@sauryakumargupta3008
@sauryakumargupta3008 19 күн бұрын
Outstanding explanation in such a ez way
@beesettiswathi7162
@beesettiswathi7162 27 күн бұрын
great explanation mam..thank you so much
@krushnachandrajena6297
@krushnachandrajena6297 6 ай бұрын
can you share your git repo.
@SayanBanikAuthor
@SayanBanikAuthor Ай бұрын
Very Nice Video! Thanks Ma'am
@shivraj940
@shivraj940 6 ай бұрын
Mam, only 6 problems there in Top 150 interview category. Please complete this section
@BlendBox
@BlendBox 4 ай бұрын
Thank you so much 🙏
@YoonMilling
@YoonMilling Жыл бұрын
Thank you!
@Adarsh_Pradhan
@Adarsh_Pradhan 9 ай бұрын
found this channel today keep making videos like this best of luck friend
@nammi-dahiya
@nammi-dahiya Жыл бұрын
Thanks mam apke solution se maine DSA ke bhut ache ache concepts sikha paya
@melk48111
@melk48111 8 ай бұрын
Your videos are great. Thank you
@chaithanyack
@chaithanyack 4 ай бұрын
how we are taking i=m-1; i dont understand that particular part
@mohsinbehzad8993
@mohsinbehzad8993 4 ай бұрын
in above example, m is equal to 3, means 3rd position. But the index in Array starts from 0 and position starts from 1. So (i =m-1) means that In above example, when the position is 3 then the index will be 2. That is the reason that we subtract 1 from the position of Array to get the index. Hope u understand...
@upunaireshakeerawella7776
@upunaireshakeerawella7776 Жыл бұрын
Awesome thanks
@bhargavasai5557
@bhargavasai5557 4 ай бұрын
Thank you ma'am
@ec072nikitavishwakarma7
@ec072nikitavishwakarma7 11 ай бұрын
Thankyou ❤
@athravnigadikar4925
@athravnigadikar4925 5 ай бұрын
Plz mam can u teach how to implement hashmap and other collection things in problems detail video so many students gets confusing in that
@AshishKumar-od3pr
@AshishKumar-od3pr 4 ай бұрын
Why are we using 0,0,0 in the end of nums1, since arrays are mutable?
@syedrizwan2203
@syedrizwan2203 4 ай бұрын
arrays are fixed in nature if you don't initialised it with 0s what you will put there other than zero to make it size of m i.e 6 here 2nd thing if you use scanner class also arrays will get initialised with zeros only for int values.
@AshishKumar-od3pr
@AshishKumar-od3pr 4 ай бұрын
@@syedrizwan2203 thanks bro
@technologiesmotivationd7754
@technologiesmotivationd7754 5 ай бұрын
Hi mam your explanation is very easy so please can you make leet code video in java please mam
@user-bi8qz3mr6t
@user-bi8qz3mr6t 8 ай бұрын
mam ek doubt h ki apne loop start karte time j>=0 ki place pr i>=0 kyu nhi likha ???
@courtneyadjoa246
@courtneyadjoa246 5 ай бұрын
kyunki humko second array se hi compare karna hai na.... aur resultant changes i variable ko represent karte hai . aur humne final result bhi wahin store karna hai.
@sahilali2514
@sahilali2514 11 ай бұрын
Ma'am please solve other interview questions...your explanations are very good.Thankyou🤗
@TechnosageLearning
@TechnosageLearning 11 ай бұрын
Hi..Will continue leetcode questions series very soon..Please stay tuned.. Thanks!
@SayanBanikAuthor
@SayanBanikAuthor Ай бұрын
7:05
@mdayazalam3132
@mdayazalam3132 11 ай бұрын
Mam please upload the video on Leetcode problem no- 238. Product of Array Except Self
@TechnosageLearning
@TechnosageLearning 11 ай бұрын
Hi..Please wait for some time..Will upload soon
@mdayazalam3132
@mdayazalam3132 11 ай бұрын
@@TechnosageLearning ok mam
@user-uo7by6hh1h
@user-uo7by6hh1h Жыл бұрын
god level explanation
@Rob-J-BJJ
@Rob-J-BJJ 10 ай бұрын
thank you it worked fine
@padmavatishah9922
@padmavatishah9922 9 ай бұрын
great expplanation.
@movieshots2135
@movieshots2135 2 ай бұрын
there is solution better than this just add nums2[] elements in the nums1[] array and sort them
@mrf8795
@mrf8795 Жыл бұрын
dear sister, I am unable to catch the coding logic without seeing the code in video or other tutorial but i understand what to do but cant implement the code .this giving me much stress, I am a beginner .I have solved 9 easy problem but in every problem i have to take help..what should i do?where should i focus on.can I be a good programmer?
@mursalin3698
@mursalin3698 Жыл бұрын
just keep grinding.
@humanityrush
@humanityrush 11 ай бұрын
Keep practicing easy lvl problems and build that confidence!
@mrf8795
@mrf8795 11 ай бұрын
@@humanityrush thanks for your advice.
@slowedReverbJunction
@slowedReverbJunction Жыл бұрын
Cute kitni hai ye ❤
@11csepratikshaargulewar71
@11csepratikshaargulewar71 Ай бұрын
Didi you don't explain why we have to place i, j or k pointers at that position only 😢 . Why can't we start our pointers from somewhere else . You should explain also as it will help with thought process
@bibhutibaibhavbora8770
@bibhutibaibhavbora8770 17 күн бұрын
Because we are starting from some specific point that is num1 and nums2 places because these arrays are sorted already. We can't randomly put pointers
@irfanahmad9761
@irfanahmad9761 8 ай бұрын
Hi, pls continue this series. #addicted
@lovegarg5061
@lovegarg5061 Жыл бұрын
This code is fail when m=0
@TechnosageLearning
@TechnosageLearning Жыл бұрын
Hi.. The code will not fail..As mentioned in the problem, m=0 means there are no elements in the nums 1 arrays so the output would be all elements of nums2 array.. Please try the code..I have tried and submItted ,it's working fine
@infinity2creation551
@infinity2creation551 11 ай бұрын
Yes its failing check again didi
@Rob-J-BJJ
@Rob-J-BJJ 10 ай бұрын
it works for me
@bhargavchandhu5100
@bhargavchandhu5100 4 күн бұрын
it is best and simple than above class Solution { public void merge(int[] nums1, int m, int[] nums2, int n) { for (int j = 0, i = m; j < n; j++) { nums1[i] = nums2[j]; i++; } Arrays.sort(nums1); } }
@disrespect12
@disrespect12 4 ай бұрын
class Solution { public void merge(int[] nums1, int m, int[] nums2, int n) { int count=0; for(int i=m;i
Remove Element | Leetcode problem 27
6:30
Technosage
Рет қаралды 29 М.
Merge Sorted Array | Leetcode 88 | Arrays
16:54
Ayushi Sharma
Рет қаралды 40 М.
Самый Молодой Актёр Без Оскара 😂
00:13
Глеб Рандалайнен
Рет қаралды 5 МЛН
39kgのガリガリが踊る絵文字ダンス/39kg boney emoji dance#dance #ダンス #にんげんっていいな
00:16
💀Skeleton Ninja🥷【にんげんっていいなチャンネル】
Рет қаралды 7 МЛН
WHAT’S THAT?
00:27
Natan por Aí
Рет қаралды 13 МЛН
Merge Sorted Array LeetCode Java (#leetcode 88)
9:33
Engineering Digest
Рет қаралды 1 М.
2D Arrays | Java Complete Placement Course | Lecture 11
19:53
Apna College
Рет қаралды 1 МЛН
Merge Two Sorted Arrays Without Extra Space | Leetcode Problem and Solution
19:39
Coding Interviews Be Like
5:31
Nicholas T.
Рет қаралды 6 МЛН
8.1 Introduction to Arrays in C++ | Guaranteed Placement Course
12:32
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 7 МЛН
Samsung laughing on iPhone #techbyakram
0:12
Tech by Akram
Рет қаралды 656 М.
НЕ ПОКУПАЙ СМАРТФОН, ПОКА НЕ УЗНАЕШЬ ЭТО! Не ошибись с выбором…
15:23
Battery  low 🔋 🪫
0:10
dednahype
Рет қаралды 12 МЛН