this is O(N^2) CODE right any better approach like O(N)
@abbassherief13928 ай бұрын
how to add other icons like these, can you make a video for it
@kenaida228 ай бұрын
What about using the filter method? Especially easy in javascript? Would this work: return nums.filter(x => x != val).length;
@codingforbeginners44138 ай бұрын
Hi Kenaida, so using filter method would create a new array and not actually modifying the original array (which is required in the problem statement, which is to change nums array), using filter would mean to store all values not equal to val and then reassigning them to the nums[i] so also this will take more space as of space complexity O(n)
@ashwanigupta58849 ай бұрын
brother there is one more line in this question after constraints its says without using an extra space (i.e., O(1) memory)
@loveandthunder29289 ай бұрын
Who does a challenge for 69 days dude 😂 Its either 30, 50 or 100
@Meetbhatia98810 ай бұрын
Thank you so much
@ahmedghaith781911 ай бұрын
awesome explanation mann!❤️
@BigBoiTurboslav Жыл бұрын
Indian KZbin tutorials are the sole reason the entire tech industry hasn't collapsed yet. Thank you
@Uflichanel Жыл бұрын
thanks man! You have a talent for teaching
@comfortcharlie3927 Жыл бұрын
Thanks so much. Very helpful. God bless you.
@BryanFrederick-h2z Жыл бұрын
I just wanted to let you know, I'm an up and coming web developer. I just finished a 6 month Full-Stack bootcamp, that was primarily taught in Python with splashes of JS there at the end. I prefer Python for it's simplicity, but the back end is just so not for me. I am now trying to really learn and get a grasp with JS, and am really enjoying your videos and your simplistic breakdowns. Nice and calm, and easy to understand. I appreciate them!
@codingforbeginners4413 Жыл бұрын
Really glad I could help
@Anushkavlogsuk Жыл бұрын
Wow
@VickinAllan Жыл бұрын
good explanation 👍
@Anushkavlogsuk Жыл бұрын
Nice
@chiculitamihaela8076 Жыл бұрын
Thank you! ^_^
@UmaSahni. Жыл бұрын
Loved your teaching 💘💘💘💘💘💘💘💘💘💘💘💘💘💘
@codingforbeginners4413 Жыл бұрын
Thank you! 😃
@navinraj9181 Жыл бұрын
Thank you
@nuamanchoudhury7716 Жыл бұрын
❤
@100DDC Жыл бұрын
thanks
@asdfasdfq6005 Жыл бұрын
abhi you lured me in with that thumbnail
@UdaipurGamer45 Жыл бұрын
The best part of bro is he don’t take craded fimsellf
@kiranchavan2632 Жыл бұрын
your code is really good and nice explanation thankyou
@codingforbeginners4413 Жыл бұрын
glad I could help
@mugheesahmed73732 жыл бұрын
thanks works perfectly. :)
@siddhantmondal12612 жыл бұрын
i love you btw why you have so less subricbers
@codingforbeginners44132 жыл бұрын
Hopefully will have more subscribers soon
@yazmuratovezov46252 жыл бұрын
your explanation is so great. More videos
@codingforbeginners44132 жыл бұрын
Glad you liked it. Checkout my course for FREE www.udemy.com/course/learn-leetcode-with-easy-explaination-javascript/?couponCode=CODEFORFUN
@udayshankhar84822 жыл бұрын
var finalValueAfterOperations = function (operations) { let temp = 0 for (let i = 0; i < operations.length; i++) { if (operations[i][0] == "+" || operations[i][1] == "+") { temp++ } else { temp-- } } return temp };
I can't understand num[i]= num[num[i]] How to give the index from this num[num[i]] ? Can you help me ?
@codingforbeginners44132 жыл бұрын
checkout this detail solution, I have explained using debugging kzbin.info/www/bejne/nKuueKmEZ9emjrM
@martina_aruta2 жыл бұрын
how i can setting the size of my icon?
@codingforbeginners44132 жыл бұрын
one way is shown here www.angularjswiki.com/fontawesome/fa-angular/#:~:text=To%20increase%20Angular%20font%20awesome,along%20with%20icon%20class%20%5Cf420.
@qodirolimov99282 жыл бұрын
👍
@candi2Love2 жыл бұрын
Please Increase your font size in vs code in the tutorial. AT least to 18px or more.
@sanju-sr1wi2 жыл бұрын
Its best tutorial for beginner coder... Easy to understand... As a beginner i want to ask u solve some leetcode EASY problems and upload tutorial...
@codingforbeginners44132 жыл бұрын
Thank you, I have solve some Easy leetcode problems. If you are stuck or don’t understand a leetcode problem fcomment and I will put a video
@DC-xj2fe2 жыл бұрын
5:46 "...If you get any doubt you know what you do? You just take this code, put it into developers' tool, for your understanding maybe. You will understand each step like what's going on here." Did I hear that correctly? What is this "developers' tool" you refer to? Sounds very useful is that's a thing I could use.
@codingforbeginners44132 жыл бұрын
Hi, Thanks for the comment, I have made a video for you explaining in detail how to use chrome INSPECT(Debugging). Here is the link kzbin.info/www/bejne/oWTUgoeertCohKs
@RahmatKhanZai892 жыл бұрын
شكرا على هذا الشرح. لقد اشتركت في قناتك.
@codingforbeginners44132 жыл бұрын
Thank you for subscribing, Glad I could help
@Shadower20142 жыл бұрын
Thank you so much, you explained every single detail, that was so much easier to understand
@codingforbeginners44132 жыл бұрын
Glad, I could help
@aguilarlopezalvarodejesus98392 жыл бұрын
What about this solution? var finalValueAfterOperations = function(operations) { var X = 0 operations.forEach(function(operation) { switch(operation) { case 'X++': case '++X': X++ break case 'X--': case '--X': X-- break } }) return X };
@codingforbeginners44132 жыл бұрын
good one
@ApostleNyx2 жыл бұрын
first leet code i have ever done and i had no idea how to break it down or solve, thank you so much for the walk through
@codingforbeginners44132 жыл бұрын
glad I could help
@abhimanyusinghshaktawat18062 жыл бұрын
Really easy to understand
@nakulsinghshaktawat97192 жыл бұрын
Your solutions make hard leetcode challenges easy 😀😀
@codingforbeginners44132 жыл бұрын
That's great to hear, glad I can help😄
@Anushkavlogsuk2 жыл бұрын
really useful video
@codingforbeginners44132 жыл бұрын
Glad it was helpful!
@nakulsinghshaktawat97193 жыл бұрын
This challenge was quite hard , for beginners like me😅
@codingforbeginners44133 жыл бұрын
Hope me video helped
@nakulsinghshaktawat97193 жыл бұрын
Can you please give a detail solution to problem 1480 LEETCODE
@codingforbeginners44133 жыл бұрын
yea check my new video, I have already made a video on problem 1480
@Anushkavlogsuk3 жыл бұрын
This is such a functional video for the students who are eager to learn coding. I really hope you will keep making more videos like this. Best of luck ❤️