2181. Merge Nodes in Between Zeros Leetcode daily challenge | DSA | Hindi

  Рет қаралды 1,326

shashCode

shashCode

Ай бұрын

Problem:
2181. Merge Nodes in Between Zeros
Problem Statement:
You are given the head of a linked list, which contains a series of integers separated by 0's. The beginning and end of the linked list will have Node.val == 0.
For every two consecutive 0's, merge all the nodes lying in between them into a single node whose value is the sum of all the merged nodes. The modified list should not contain any 0's.
Return the head of the modified linked list.
Problem Link:
leetcode.com/problems/merge-n...
Graph Playlist:
• Graph Data Structure S...
Java Plus DSA Placement Course Playlist:
• Java and DSA Course Pl...
Java Plus DSA Sheet:
docs.google.com/spreadsheets/...
Notes:
github.com/Tiwarishashwat/Jav...
Telegram Link:
shashwattiwari.page.link/tele...
Ultimate Recursion Series Playlist:
• Recursion and Backtrac...
Instagram Handle: (@shashwat_tiwari_st)
shashwattiwari.page.link/shas...
Samsung Interview Experience:
• I cracked Samsung | SR...
Company Tags:
Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung
Timestamp:
0:00 - Introduction
#ShashwatTiwari #coding​​ #problemsolving​

Пікірлер: 16
@krutikadave4534
@krutikadave4534 29 күн бұрын
wow there is no channel on youtube that explains DSA in such a short, effective & direct way! Thanks for knowledge.
@GirjeshSharma-zv3xo
@GirjeshSharma-zv3xo Ай бұрын
Love from Canada ❤
@RohitKumar-dz8dh
@RohitKumar-dz8dh Ай бұрын
Thanks 😊, today I approached this problem like you did .
@user-zj4qt7cy1z
@user-zj4qt7cy1z Ай бұрын
Thank you, sir. Sout("#shashwat tiwari"); Easily understandable question appeared: How to do it! I have 💯 % support for you. Please continue solving the LeetCode problems using the Java language to maintain our consistency and hard work in doing daily questions.
@user-oi5ls4rs5g
@user-oi5ls4rs5g Ай бұрын
osm sir
@adarshjain3058
@adarshjain3058 Ай бұрын
as usual ....shash code on it's work again...but this time..i solved it by my own! cheers!
@tanishaamin17
@tanishaamin17 Ай бұрын
Your way of explaining is great. Looking forward to more daily challenges.
@bishalkumarshaw2789
@bishalkumarshaw2789 Ай бұрын
Please add all Java videos from beginners to advanced till date in one single playlist 🙏🙏 It is a bit confusing from where to start so I can learn all concepts from beginners level to oops to DSA concepts. So please a single playlist 🙏🙏
@feelthemusic7857
@feelthemusic7857 Ай бұрын
Bhai sir ki channel me 170 video ka playlist hai check out kar le bhai
@user-zz9pr5mu8o
@user-zz9pr5mu8o Ай бұрын
whose company ask this question??
@zaffarzeshan1308
@zaffarzeshan1308 Ай бұрын
node =temp? kyu node kyu lele rahe h
@PrakashRai-ff3pr
@PrakashRai-ff3pr Ай бұрын
sir i am currently on sorting topic and know array and string and bas recursion so should i need to do this question just for a badge???means i will understand problem and your approach then do code its okay to do aur i should only do a topic of potm which relevent to my current knowledge??
@shashwat_tiwari_st
@shashwat_tiwari_st 29 күн бұрын
jo jo data structure padh liye ho uske questions kr skte ho. Baaki jaise jaise krte jao waise padh lena
@PrakashRai-ff3pr
@PrakashRai-ff3pr 29 күн бұрын
@@shashwat_tiwari_st so basically jo topic nhi kiye uske daily question nhi karu??
@shashwat_tiwari_st
@shashwat_tiwari_st 29 күн бұрын
@@PrakashRai-ff3pr ha smjh nhi aaega..
@PrakashRai-ff3pr
@PrakashRai-ff3pr 29 күн бұрын
@@shashwat_tiwari_st okay thankyou❤️...mai issi mai confuse tha kyuki last month mene saare questions kiye daily chalanege k and jo bhi new data structures k topic aaye jo aate nhi aapke video dekhe but at the end esa lgta ki yeh shi bhi hai like kuch chize samj aa rhi and kuch bilkul nhi to ese jo topic nhi padhe karna chahiye ya nhi ab doubt clear ho gya👍❤️
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 210 МЛН
I'm Excited To see If Kelly Can Meet This Challenge!
00:16
Mini Katana
Рет қаралды 21 МЛН
Spot The Fake Animal For $10,000
00:40
MrBeast
Рет қаралды 188 МЛН
Stay on your way 🛤️✨
00:34
A4
Рет қаралды 24 МЛН
DSA & ₹1.2 Crore Per Annum Jobs - The Truth? (No Offence)
12:22
CodeWithHarry
Рет қаралды 585 М.
Next Permutation - Intuition in Detail 🔥 | Brute to Optimal
28:15
take U forward
Рет қаралды 336 М.
Why The Windows Phone Failed
24:08
Apple Explained
Рет қаралды 58 М.
How to Solve ANY LeetCode Problem (Step-by-Step)
12:37
Codebagel
Рет қаралды 152 М.
LeetCode 2181 : Merge Nodes in Between Zeros
6:43
Engineering Digest
Рет қаралды 954
8 patterns to solve 80% Leetcode problems
7:30
Sahil & Sarra
Рет қаралды 282 М.
5 Cool Python One-Liners
12:23
Indently
Рет қаралды 31 М.
50 YouTubers Fight For $1,000,000
41:27
MrBeast
Рет қаралды 210 МЛН