The Coding Monk
The Coding Monk
  • 283
  • 75 549
LeetCode 271: Encode and Decode Strings | String Serialization Explained | NeetCode Roadmap
Want to master LeetCode 271: Encode and Decode Strings? 🤔 This problem is crucial for understanding string serialization and deserialization, commonly used in system design and interviews. In this video, we'll explore different approaches, from naïve methods to optimal solutions, using delimiters and length encoding to handle complex cases efficiently. 🚀 Perfect for Day 3 of the NeetCode.io roadmap! Don’t miss this essential coding interview question! 💡🔥 #NeetCode #LeetCode #StringEncoding #CodingInterview #JavaScript
SOME BOOKS I RECOMMEND
System Design Interview VOL 2 : amzn.to/40jxuxo
System Design Interview VOL 1 : amzn.to/429iNjd
Cracking the Coding Interview : amzn.to/40jJor8
💡 Don’t forget to like, comment, and subscribe for more web development tutorials. #ExpressJS #NodeJS #BackendDevelopment"
Переглядів: 2

Відео

LeetCode 347: Top K Frequent Elements | Hash Map & Heap Approach | NeetCode Roadmap || #dsa
Переглядів 54 години тому
LeetCode 347: Top K Frequent Elements | Hash Map & Heap Approach | NeetCode Roadmap || #dsa Struggling with LeetCode 347: Top K Frequent Elements? 🤔 In this video, we’ll break down the problem step by step using hash maps, sorting, and heaps (priority queues) to find the most efficient solution. This is a must-know problem for coding interviews, covering key data structures and optimized approa...
LeetCode 49: Group Anagrams | Categorizing Strings Efficiently | NeetCode Roadmap
Переглядів 127 годин тому
On Day 4 of the NeetCode.io roadmap, we’re solving LeetCode 49: Group Anagrams! 🔥 This problem challenges us to categorize strings based on their character counts. In this video, we’ll break down the Brute Force, Better, and Optimal approaches to efficiently group anagrams using hash maps and sorting. Master this concept to boost your problem-solving skills for coding interviews! 🚀💡 #NeetCode #...
Mastering Two Sum Variations | Brute to Optimal | #neetcode #dsa
Переглядів 3912 годин тому
Mastering Two Sum Variations | Brute to Optimal | #neetcode #dsa On Day 3 of the NeetCode.io roadmap, we're tackling the classic Two Sum problem and its variations! 🚀 In this video, we'll break down three approaches-Brute Force, Better, and Optimal-to help you understand different problem-solving techniques. Whether you're a beginner or sharpening your skills, this step-by-step guide will prepa...
Leetcode Valid Anagram Solution | NeetCode Approach Explained in JavaScript
Переглядів 11314 годин тому
Leetcode Valid Anagram Solution | NeetCode Approach Explained in JavaScript In this video, we solve the Leetcode Valid Anagram problem using the NeetCode approach in JavaScript. Learn how to check if two strings are anagrams by comparing their characters and frequencies. We will cover optimal solutions, including time and space complexity analysis, to help you prepare for coding interviews. Key...
Leetcode 217 - Contains Duplicate Solution in JavaScript | Coding Interview Problem Explained
Переглядів 3816 годин тому
Leetcode 217 - Contains Duplicate in JavaScript | Coding Challenge Solution In this video, we dive deep into solving the Leetcode 217 - Contains Duplicate problem using JavaScript. Learn how to efficiently check if a given array contains duplicate elements using optimal techniques. We'll walk you through step-by-step code implementation, best practices, and performance considerations for solvin...
Reverse a Linked List | LeetCode 206 | #javascriptdevelopment #coding #webdevelopment
Переглядів 3219 годин тому
Reverse a Linked List | LeetCode 206 | #javascriptdevelopment #coding #webdevelopment Hey guys, In this video, We're going to solve a famous problem on Linked List known as Reverse a Linked List. SOME BOOKS I RECOMMEND System Design Interview VOL 2 : amzn.to/40jxuxo System Design Interview VOL 1 : amzn.to/429iNjd Cracking the Coding Interview : amzn.to/40jJor8 💡 Don’t forget to like, comment, a...
How to add rate limit to Express Server || How to Setup A Nodejs + Express API with Rate Limiting
Переглядів 2914 днів тому
How to add rate limit to Express Server || How to Setup A Nodejs Express API with Rate Limiting
Getting Started with Express and NodeJS || How to create an express server || #expressjs #nodejs
Переглядів 1721 день тому
Getting Started with Express and NodeJS || How to create an express server || #expressjs #nodejs
What is Binary Search | Binary Search Algorithm with example | Data Structures Tutorials
Переглядів 9621 день тому
What is Binary Search | Binary Search Algorithm with example | Data Structures Tutorials
JavaScript for Beginners: Prototype & Prototypal Inheritance || in Hindi || #javascript #coding
Переглядів 4328 днів тому
JavaScript for Beginners: Prototype & Prototypal Inheritance || in Hindi || #javascript #coding
STOP Using Promise.all in Production Right Now! || #javascriptdevelopment #coding
Переглядів 46Місяць тому
STOP Using Promise.all in Production Right Now! || #javascriptdevelopment #coding
Understanding the concept of Parallel Programming in JavaScript: Unlocking the Power of Promise.all
Переглядів 69Місяць тому
Understanding the concept of Parallel Programming in JavaScript: Unlocking the Power of Promise.all
This Frontend library is a game change || How to setup shadcn/ui with NextJs || #javascript #coding
Переглядів 692 місяці тому
This Frontend library is a game change || How to setup shadcn/ui with NextJs || #javascript #coding
Create your personal AI Assistant in 1 minute || Hume ai || #artificialintelligence
Переглядів 952 місяці тому
Create your personal AI Assistant in 1 minute || Hume ai || #artificialintelligence
Evaluate Reverse Polish Notation | Leetcode 150 | Stack | Javascript
Переглядів 502 місяці тому
Evaluate Reverse Polish Notation | Leetcode 150 | Stack | Javascript
Building an AI Customer Care Bot with ChatGPT In 20 Minutes | Step-by-Step Guide
Переглядів 1062 місяці тому
Building an AI Customer Care Bot with ChatGPT In 20 Minutes | Step-by-Step Guide
Course that helped me become a Software Developer without a CS degree
Переглядів 1,1 тис.3 місяці тому
Course that helped me become a Software Developer without a CS degree
JavaScript for Beginners: Data types in JavaScript [ Part - 3 ] || in Hindi || #javascript #coding
Переглядів 323 місяці тому
JavaScript for Beginners: Data types in JavaScript [ Part - 3 ] || in Hindi || #javascript #coding
This Tailwind Library is a game changer || introduction to fluid tailwind
Переглядів 3963 місяці тому
This Tailwind Library is a game changer || introduction to fluid tailwind
Valid Sudoku - Amazon Interview Question - Leetcode 36 - JavaScript
Переглядів 803 місяці тому
Valid Sudoku - Amazon Interview Question - Leetcode 36 - JavaScript
JavaScript for Beginners: Variables in JavaScript [ Part - 2.2 ] || in Hindi || #javascript #coding
Переглядів 243 місяці тому
JavaScript for Beginners: Variables in JavaScript [ Part - 2.2 ] || in Hindi || #javascript #coding
JavaScript for Beginners: Variables in JavaScript [ Part - 2.1 ] || in Hindi || #javascript #coding
Переглядів 303 місяці тому
JavaScript for Beginners: Variables in JavaScript [ Part - 2.1 ] || in Hindi || #javascript #coding
JavaScript for Beginners: Introduction [ Part - 1 ] || in Hindi || #javascript #coding
Переглядів 473 місяці тому
JavaScript for Beginners: Introduction [ Part - 1 ] || in Hindi || #javascript #coding
Top YouTube Channels for Full Stack Project Ideas || #mern #webdevelopment
Переглядів 1243 місяці тому
Top UA-cam Channels for Full Stack Project Ideas || #mern #webdevelopment
Reverse Linked List - 3 pointer approach - Leetcode 206 - JavaScript
Переглядів 833 місяці тому
Reverse Linked List - 3 pointer approach - Leetcode 206 - JavaScript
OpenAI Realtime API: Revolutionizing Speech-to-Speech Technology!
Переглядів 3193 місяці тому
OpenAI Realtime API: Revolutionizing Speech-to-Speech Technology!
LeetCode 2864: Maximum Odd Binary Number | JavaScript Solution Explained
Переглядів 253 місяці тому
LeetCode 2864: Maximum Odd Binary Number | JavaScript Solution Explained
LeetCode 2315: Count Asterisks | JavaScript Solution Explained || #LeetCode #CountAsterisks
Переглядів 323 місяці тому
LeetCode 2315: Count Asterisks | JavaScript Solution Explained || #LeetCode #CountAsterisks
LeetCode 557 Reverse Words in a String III JavaScript Solution Explained || #LeetCode #JavaScript
Переглядів 893 місяці тому
LeetCode 557 Reverse Words in a String III JavaScript Solution Explained || #LeetCode #JavaScript

КОМЕНТАРІ

  • @Saudkhan40
    @Saudkhan40 2 години тому

    I was stuck in connecting my spring boot to Atlas. Thank you so much for this help.

  • @missDaria15
    @missDaria15 6 днів тому

    A D C B

  • @missDaria15
    @missDaria15 6 днів тому

    arr.splice(-2)

  • @missDaria15
    @missDaria15 6 днів тому

    C D b a Because priority of execution will be - callstack(synchronous code)-microtask queue(promises)-callback queue(web apis, setTimeOut,setInterval,fetch,axios etc)

  • @Venomxus2023
    @Venomxus2023 7 днів тому

    Use counter and solve it in a single if statement

  • @infinityx6362
    @infinityx6362 7 днів тому

    Sir i am facing nodejs server problem can you please help me?

  • @ManojYadavNR
    @ManojYadavNR 8 днів тому

    22

  • @thebhagwabilla
    @thebhagwabilla 9 днів тому

    Thank you so much sir, You explained everything so well and in such a simple terms and language.

  • @AI_WALE
    @AI_WALE 15 днів тому

    Hii Brother I can create a mongodb database Then? How to connect with Nord.js

    • @TheCodingMonk590
      @TheCodingMonk590 15 днів тому

      I have created video on the same providing the link below 👇 Connecting NodeJS with MongoDB | Mongoose + Express ua-cam.com/video/aCIC602bRjU/v-deo.html

  • @boondoc5779
    @boondoc5779 18 днів тому

    Nice bhai usually company hidden rehti hai non premium users ke liye , but this solved it Thanks!😄

  • @Ashish-cr9vr
    @Ashish-cr9vr 23 дні тому

    This is not bug, you are noob 😂😂😂

  • @Chiby5570
    @Chiby5570 23 дні тому

    What gibberish is this

    • @TheCodingMonk590
      @TheCodingMonk590 23 дні тому

      Interview questions 😜 i know it’s hard ro read but the question is very easy if you understand the logic

  • @mohitkumarchaurasia2230
    @mohitkumarchaurasia2230 24 дні тому

    Grt Info

  • @neerajsuyal
    @neerajsuyal 24 дні тому

    In pages ko host kese karte hai?

  • @sanketkumar7064
    @sanketkumar7064 25 днів тому

    To bro ish se fyda kya hoga ....optimise or just to confuse??

  • @Emon-hr8fq
    @Emon-hr8fq 25 днів тому

    Next video?? 😢

    • @TheCodingMonk590
      @TheCodingMonk590 25 днів тому

      Sunday, even i want to upload more frequently but this dam job 🥲

  • @drabdullatifshahid
    @drabdullatifshahid 27 днів тому

    Thanks. done.

  • @abhimanyuambastha2595
    @abhimanyuambastha2595 27 днів тому

    thanks for the explanation. Whats the right way to save objects as a key to another object?

  • @xplorer7218
    @xplorer7218 27 днів тому

    Useless feature

  • @ParvezKhan-mj7yt
    @ParvezKhan-mj7yt 27 днів тому

    Can't we use promise. all() without async func

  • @MrNoid176
    @MrNoid176 Місяць тому

    Foo + null will be 'foo' and then 'foo' + 'bar' should be 'foobar' ????? Then how string is getting converted

    • @TheCodingMonk590
      @TheCodingMonk590 25 днів тому

      it's foo + + bar now the + infront of bar will convert it to a number and since bar is a string it will result in a nan and when we do foo + nan it will result in foonan

  • @MrNoid176
    @MrNoid176 Місяць тому

    Phele Wale me 1 + null hoga to = 1 hoga or phir jab 1 + "2" hoga to "12" na aana chahiye ??

    • @TheCodingMonk590
      @TheCodingMonk590 25 днів тому

      phele wale me 1 + + 2 now the + infront of 2 will convert it to a number and it will be 1 + 2 => 3 in case of 1 + 2 where 2 is string it will concat and become 12 and in case or 1 - 2 the 2 will again be converted to number and result in 1 - 2 => -1

  • @vaibhavsingh8122
    @vaibhavsingh8122 Місяць тому

    Basically here instead of actually copying the address/refrence of the property of the object it is copying the function definition to another variable, this property of js is highly inconsistent, copying array, results in shallow copy and copies the reference And that's why people hate js, any sane language doesn't have these exceptions and work consistently

  • @MrNoid176
    @MrNoid176 Місяць тому

    New subscriber

  • @zombifiedbeast1825
    @zombifiedbeast1825 Місяць тому

    Good one! Thank you

  • @madaraop5348
    @madaraop5348 Місяць тому

    Thank you for giving knowledge ❤

  • @yogeshsathe2695
    @yogeshsathe2695 Місяць тому

    Theme name

  • @rproctor83
    @rproctor83 Місяць тому

    Somehow i understood him, not because i am Indian but because I speak JavaScript.

  • @varunaggarwal7126
    @varunaggarwal7126 Місяць тому

    if one promise in Promise.all fails, it will cause the entire Promise.all call to reject.

    • @TheCodingMonk590
      @TheCodingMonk590 Місяць тому

      Correct ✅ that is what i have explained in detail in my full video on parallel programming. Instead it’s a good practice to use promis.allsetteled()

  • @Ajay-nm3rl
    @Ajay-nm3rl Місяць тому

    Great keep it on

  • @ishandeshpande4843
    @ishandeshpande4843 Місяць тому

    When you create the new set, isn't the array iterated under the hood? Won't this effectively result in a time complexity of O(n) ?

    • @TheCodingMonk590
      @TheCodingMonk590 Місяць тому

      Great man, thanks for pointing this I totally forgot about it, so basically i calculated the increase in space complexity because of set but totally forgot about the time complexity increase in creating set from array. No worries i will correct my mistake in tomorrows short please forgive for this mistake as i am new to dsa and still learning and again thanks for pointing out ☺️

    • @ishandeshpande4843
      @ishandeshpande4843 Місяць тому

      ​@@TheCodingMonk590 You're welcome. The difference between has and includes was pretty clear. Keep it up👍

  • @thanveerahmed1963
    @thanveerahmed1963 Місяць тому

    5 and referenece error. Because b will take as global scope and a will not be accessible outside of the function

  • @shreerajraul5719
    @shreerajraul5719 Місяць тому

  • @mahalingappabirajdar5285
    @mahalingappabirajdar5285 Місяць тому

    Thank you for your suggestions

  • @SushilJainam
    @SushilJainam Місяць тому

    But why the difference is two times, shouldn't it be 4 times? Because of four requests??

    • @TheCodingMonk590
      @TheCodingMonk590 Місяць тому

      It’s not fixed to 700 ms maybe the the data size was less of anything like that due to which one of the promise resolved faster than or maybe the internet was was fast and all got resolved faster, anything could have happened but it’s not fixed that a promise must resolve in 700ms…hope i have solved your doubt ☺️

  • @imfad3d
    @imfad3d Місяць тому

    No, Its not a better way. Its another way.

    • @TheCodingMonk590
      @TheCodingMonk590 Місяць тому

      I feels it’s better in terms that you need to write less code and it’s more clean but ofcourse if you think from performance point of view then it’s not better for sure

    • @rohitkhatri5300
      @rohitkhatri5300 Місяць тому

      ​@@TheCodingMonk590 nhi bhai this is not a better way it's just ki aapne ek line likha h that's the only difference

    • @TheCodingMonk590
      @TheCodingMonk590 Місяць тому

      That’s what i said it’s not better in performance or anything it’s just clean that’s all, moreover i like it writing this way that’s why i felt like sharing, Baaki ofcourse it’s not better in just cleaner that’s all

    • @imfad3d
      @imfad3d Місяць тому

      ​@@TheCodingMonk590 You literally said its a better way.

    • @TheCodingMonk590
      @TheCodingMonk590 Місяць тому

      Brother better in terms of its clean but anyways sorry for confusion i will be more clear next time 🥲

  • @ajaykumarjha6477
    @ajaykumarjha6477 Місяць тому

    Gud

  • @hitmanwins4516
    @hitmanwins4516 Місяць тому

    What are the examples??

  • @rishi2220
    @rishi2220 Місяць тому

    it's nothing related to javascript, its langauge agnostic, this is related to how machines store floating point literals.

  • @Zain-ex7ho
    @Zain-ex7ho Місяць тому

    nice content! got something new to learn about java .i thought left to right associative would give true

  • @pxycknomdictator4483
    @pxycknomdictator4483 Місяць тому

    wese m is tarah ki silli mistake nhi krta but ye trick achi lagi mujhe

  • @ajaykumarjha6477
    @ajaykumarjha6477 Місяць тому

    Nyc

  • @infinityx6362
    @infinityx6362 Місяць тому

    Website link

  • @Faisal-Ahmed-Bro
    @Faisal-Ahmed-Bro Місяць тому

    Thank you so much for sharing this, I used to handle this by creating my own function.

  • @Abdullahalmamun-xh8lh
    @Abdullahalmamun-xh8lh Місяць тому

    nice video.

  • @akshatbhatt5384
    @akshatbhatt5384 2 місяці тому

    How do you remember all these ?😢

  • @mayurkunjir3042
    @mayurkunjir3042 2 місяці тому

    Sir please explain hosting and temperal deadzone, ye dono js mai hi kyu hoti hai java mai kyu nahi, please explain sir ❤️

    • @TheCodingMonk590
      @TheCodingMonk590 2 місяці тому

      Okk weekend ka wait karlo, iss Saturday sunday m karta kuch

  • @Singhoustic
    @Singhoustic 2 місяці тому

    . length kaam nahi karega?

    • @TheCodingMonk590
      @TheCodingMonk590 2 місяці тому

      Array k nesting kaise khatam karoge .length se ??? Code example do so i can see what you mean exactly

    • @Singhoustic
      @Singhoustic 2 місяці тому

      @@TheCodingMonk590 const arr = [1, [2, [3, 4, 5], 6]]; console.log(arr.flat(arr.length));

  • @MarufHasanShihab2006
    @MarufHasanShihab2006 2 місяці тому

    very informative

  • @kartalpramanik2394
    @kartalpramanik2394 2 місяці тому

    A=10 B=20 B=B-A=10 A=A+B=20