Coding Planet
Coding Planet
  • 63
  • 11 282
935. Knight Dialer | Think Bottom-UP | FRAZ's DSA Sheet | LeetCode | Linear DP | Krishna
🔍 **Problem Name**: Knight Dialer
🔗 **Problem Link**: [Knight Dialer](leetcode.com/problems/knight-dialer/submissions/1520055129/)
📹 **Video Overview**
In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "Knight Dialer." The video focuses on solving the problem using dynamic programming to calculate the number of distinct phone numbers of a given length that can be dialed starting from each digit on the keypad, following the knight's movement in chess. This guide is perfect for mastering dynamic programming concepts and improving problem-solving skills.
🧠 **What You’ll Learn**
- Understanding the problem of generating distinct phone numbers using a knight's movement on a keypad.
- Designing an efficient dynamic programming algorithm to solve the problem.
- Implementing the solution in C++ with clean and well-commented code.
🔗 **Helpful Links**
Problem Link: [Knight Dialer](leetcode.com/problems/knight-dialer/submissions/1520055129/)
Code Link: [Solution Submission](leetcode.com/problems/knight-dialer/submissions/1520055129/)
🌐 **Connect with Me**
GitHub: [github.com/krishna6431](github.com/krishna6431)
LinkedIn: [linkedin.com/in/krishna6431](linkedin.com/in/krishna6431)
Twitter: [ krishna6431]( krishna6431)
Email: codingplanet1436@gmail.com
Email 2: vermakrish921@gmail.com
👍 **Support and Subscribe**
If this video helped you:
- Like 👍 the video to show your support.
- Subscribe 🔔 to stay updated with my latest content.
- Comment 💬 your thoughts, questions, or suggestions for future videos.
- Share 📢 this video with your network to help others on their coding journey.
💬 **Join the Community**
Have questions or need help with a problem? Drop a comment below, and I’ll respond! Let’s grow together as a community of passionate coders.
🚀 **Thank You and Happy Coding!**
Your support inspires me to create more content like this. Let’s keep learning, improving, and solving problems together.
#LeetCode #KnightDialer #Programming #DSASheet #DynamicProgramming #CodingChallenge #Algorithm #CPlusPlusProgramming #CodingInterview #DeveloperTips #ProgrammingTutorial #LearnToCode #TechCommunity
มุมมอง: 39

วีดีโอ

518. Coin Change II | Think Bottom-UP | FRAZ's DSA Sheet | LeetCode | Linear DP | Krishna
มุมมอง 2916 ชั่วโมงที่ผ่านมา
🔍 Problem Name : Coin Change || 🔗 Problem Link : [Coin Change II](leetcode.com/problems/coin-change-ii/submissions/1518367592/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "Coin Change II." The video focuses on breaking down the problem, designing an efficient dynamic programming algorithm to find the number of combinations to make up a...
3041. Maximize Consecutive Elements in an Array After Modification | Bottom-UP | FRAZ's DSA Sheet |
มุมมอง 4421 ชั่วโมงที่ผ่านมา
🔍 Problem Name : Maximize Consecutive Elements in an Array After Modification 🔗 Problem Link : [Maximize Consecutive Elements in an Array After Modification](leetcode.com/problems/maximize-consecutive-elements-in-an-array-after-modification/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "Maximize Consecutive Elements in an Array After Mo...
1043. Partition Array for Maximum Sum | Think Bottom-UP | FRAZ's DSA Sheet | Linear DP | Krishna
มุมมอง 1521 ชั่วโมงที่ผ่านมา
🔍 Problem Name : Partition Array for Maximum Sum 🔗 Problem Link : [Partition Array for Maximum Sum](leetcode.com/problems/partition-array-for-maximum-sum/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "Partition Array for Maximum Sum." The video focuses on breaking down the problem, designing an efficient dynamic programming solution to ...
1218. Longest Arithmetic Subsequence of Given Difference | Bottom-UP | FRAZ's DSA Sheet | | Krishna
มุมมอง 20วันที่ผ่านมา
🔍 Problem Name : 1218. Longest Arithmetic Subsequence of Given Difference 🔗 Problem Link : [Longest Arithmetic Subsequence of Given Difference](leetcode.com/problems/longest-arithmetic-subsequence-of-given-difference/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "1218. Longest Arithmetic Subsequence of Given Difference." The video focus...
413. Arithmetic Slices | Think Bottom-UP | FRAZ's DSA Sheet | LeetCode | Linear DP | Krishna
มุมมอง 24วันที่ผ่านมา
🔍 Problem Name : 413. Arithmetic Slices 🔗 Problem Link : [Arithmetic Slices](leetcode.com/problems/arithmetic-slices/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "413. Arithmetic Slices." The video focuses on breaking down the problem, designing an efficient dynamic programming solution to calculate the number of arithmetic slices, and...
3186. Maximum Total Damage With Spell Casting | Bottom-UP | FRAZ's DSA Sheet | Linear DP | Krishna
มุมมอง 43วันที่ผ่านมา
🔍 Problem Name : 3186. Maximum Total Damage With Spell Casting 🔗 Problem Link : [Maximum Total Damage With Spell Casting](leetcode.com/problems/maximum-total-damage-with-spell-casting/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "3186. Maximum Total Damage With Spell Casting." The video focuses on analyzing the problem, designing an ef...
740. Delete and Earn | Think Bottom-UP | FRAZ's DSA Sheet | LeetCode | Linear DP | Krishna
มุมมอง 1614 วันที่ผ่านมา
🔍 Problem Name : 740. Delete and Earn 🔗 Problem Link : [Delete and Earn](leetcode.com/problems/delete-and-earn/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "740. Delete and Earn." The video focuses on breaking down the problem, designing an efficient dynamic programming solution to maximize points, and implementing it in C . This guide...
983. Minimum Cost For Tickets | Think Bottom-UP | FRAZ's DSA Sheet | LeetCode | Linear DP | Krishna
มุมมอง 1014 วันที่ผ่านมา
🔍 Problem Name : 983. Minimum Cost For Tickets 🔗 Problem Link : [Minimum Cost For Tickets](leetcode.com/problems/minimum-cost-for-tickets/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "983. Minimum Cost For Tickets." The video focuses on analyzing the problem, designing an efficient dynamic programming solution to minimize travel costs,...
121. Best Time to Buy and Sell Stock | Think Bottom-UP | FRAZ's DSA Sheet | Linear DP | Krishna
มุมมอง 7214 วันที่ผ่านมา
🔍 Problem Named: 121. Best Time to Buy and Sell Stock 🔗 Problem Link : [Best Time to Buy and Sell Stock](leetcode.com/problems/best-time-to-buy-and-sell-stock/description/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "121. Best Time to Buy and Sell Stock." The video focuses on analyzing the problem, developing an efficient solution usin...
322. Coin Change | Think Bottom-UP | FRAZ's DSA Sheet | LeetCode | Linear DP | Krishna
มุมมอง 2514 วันที่ผ่านมา
🔍 Problem Name : 322. Coin Change 🔗 Problem Link : [Coin Change](leetcode.com/problems/coin-change/description/) 📹 Video Overview In this video, I provide a detailed, step-by-step explanation of the LeetCode Problem "322. Coin Change." The video focuses on breaking down the problem, developing an efficient solution using dynamic programming, and implementing it in C . This is an excellent resou...
198. House Robber | Think Bottom-UP | FRAZ's DSA Sheet | LeetCode | Linear DP | Krishna
มุมมอง 3714 วันที่ผ่านมา
🌟 FRAZ's DSA Sheet Solution: 198. House Robber | Step-by-Step Explanation | Jan 13, 2025 🔍 Problem Name: 198. House Robber 🔗 Problem Link: [House Robber](leetcode.com/problems/house-robber/description/) 📹 Video Overview In this video, I provide a clear, step-by-step solution to the LeetCode Problem "198. House Robber." Watch as I break down the problem, explain the thought process, and implemen...
96. Unique Binary Search Trees | Think Bottom-UP | FRAZ's DSA Sheet | LeetCode | Linear DP | Krishna
มุมมอง 5914 วันที่ผ่านมา
🌟 FRAZ's DSA Sheet Solution: 96. Unique Binary Search Trees | Step-by-Step Explanation | Jan 12, 2025 🔍 Problem Name: 96. Unique Binary Search Trees 🔗 Problem Link: leetcode.com/problems/unique-binary-search-trees/description/ 📹 Video Overview In this video, I provide a clear, step-by-step solution to the LeetCode Problem "96. Unique Binary Search Trees." Watch as I break down the problem, expl...
91. Decode Ways | Think Bottom-UP | FRAZ's DSA Sheet | Dynamic Programming | Linear DP | Krishna
มุมมอง 4214 วันที่ผ่านมา
FRAZ's DSA Sheet Solution : 91. Decode Ways | Step-by-Step Explanation | Jan 11, 2025 🔍 Problem Name: 91. Decode Ways 🔗 Problem Link:leetcode.com/problems/decode-ways/description/ 📹 Video Overview In this video, I provide a detailed, step-by-step solution to the LeetCode Problem "91. Decode Ways" Watch as I break down the problem, explain the approach, and implement the solution in real-time. T...
279. Perfect Squares | Think Bottom-UP | FRAZ's DSA Sheet | Linear DP | By Krishna
มุมมอง 5714 วันที่ผ่านมา
FRAZ's DSA Sheet Solution : 279. Perfect Squares | Step-by-Step Explanation | Jan 10, 2025 🔍 Problem Name: 279. Perfect Squares 🔗 Problem Link: leetcode.com/problems/perfect-squares/description/ 📹 Video Overview In this video, I provide a detailed, step-by-step solution to the LeetCode Problem "279. Perfect Squares" Watch as I break down the problem, explain the approach, and implement the solu...
746. Min Cost Climbing Stairs | Think Bottom-UP | FRAZ's DSA Sheet S | Linear DP | By Krishna
มุมมอง 2814 วันที่ผ่านมา
746. Min Cost Climbing Stairs | Think Bottom-UP | FRAZ's DSA Sheet S | Linear DP | By Krishna
70. Climbing Stairs | Think Bottom-UP | FRAZ's DSA Sheet | Dynamic Programming | Linear DP | Krishna
มุมมอง 8921 วันที่ผ่านมา
70. Climbing Stairs | Think Bottom-UP | FRAZ's DSA Sheet | Dynamic Programming | Linear DP | Krishna
921. Minimum Add to Make Parentheses Valid | Step-by-Step Explanation || Oct 9, 24 | By Krishna | CP
มุมมอง 253 หลายเดือนก่อน
921. Minimum Add to Make Parentheses Valid | Step-by-Step Explanation || Oct 9, 24 | By Krishna | CP
2491. Divide Players Into Teams of Equal Skill || Leetcode DCC 4th OCT || Coding Planet
มุมมอง 103 หลายเดือนก่อน
2491. Divide Players Into Teams of Equal Skill || Leetcode DCC 4th OCT || Coding Planet
Summed Matrix | O(1) | Maths | Matrix | GFG POTD | By Krishna | June 24, 2024
มุมมอง 507 หลายเดือนก่อน
Summed Matrix | O(1) | Maths | Matrix | GFG POTD | By Krishna | June 24, 2024
995. Minimum Number of K Consecutive Bit Flips | Sliding Window | Bit Manipulation | By Krishna |
มุมมอง 597 หลายเดือนก่อน
995. Minimum Number of K Consecutive Bit Flips | Sliding Window | Bit Manipulation | By Krishna |
1438. Longst Continuous Subarray With Abs Diff Less Than or Equal to Limit | Sliding Window | Deque|
มุมมอง 307 หลายเดือนก่อน
1438. Longst Continuous Subarray With Abs Diff Less Than or Equal to Limit | Sliding Window | Deque|
Print Bracket Number | Stack | GFG POTD | By Krishna | June 23, 2024
มุมมอง 257 หลายเดือนก่อน
Print Bracket Number | Stack | GFG POTD | By Krishna | June 23, 2024
Extract the Number from the String | String Stream | GFG POTD | By Krishna | June 22, 2024
มุมมอง 497 หลายเดือนก่อน
Extract the Number from the String | String Stream | GFG POTD | By Krishna | June 22, 2024
1248. Count Number of Nice Subarrays | Sliding Window | By Krishna | June 22, 2024
มุมมอง 357 หลายเดือนก่อน
1248. Count Number of Nice Subarrays | Sliding Window | By Krishna | June 22, 2024
1052. Grumpy Bookstore Owner| Brute Passed | Sliding Window | By Krishna | June 21, 2024
มุมมอง 697 หลายเดือนก่อน
1052. Grumpy Bookstore Owner| Brute Passed | Sliding Window | By Krishna | June 21, 2024
1552. Magnetic Force Between Two Balls | Binary Search | By Krishna | June 20, 2024
มุมมอง 157 หลายเดือนก่อน
1552. Magnetic Force Between Two Balls | Binary Search | By Krishna | June 20, 2024
1482. Minimum Number of Days to Make m Bouquets | Binary Search | By Krishna | June 19, 2024
มุมมอง 1057 หลายเดือนก่อน
1482. Minimum Number of Days to Make m Bouquets | Binary Search | By Krishna | June 19, 2024
826. Most Profit Assigning Work | Simple Approach | No Sorting | By Krishna | June 18, 2024
มุมมอง 227 หลายเดือนก่อน
826. Most Profit Assigning Work | Simple Approach | No Sorting | By Krishna | June 18, 2024
633. Sum of Square Numbers | 3 Approaches | Brute | Sqrt | Binary Search | June 17, 2024
มุมมอง 137 หลายเดือนก่อน
633. Sum of Square Numbers | 3 Approaches | Brute | Sqrt | Binary Search | June 17, 2024

ความคิดเห็น

  • @chupbeth
    @chupbeth 18 วันที่ผ่านมา

    hello bhaiii APNA College ki DSA sheet solve karo na please feedback :- aapki voice kam aa rahi he . speak loudly thanks

  • @vermaax
    @vermaax 18 วันที่ผ่านมา

    thanks for the solution. Really helped me for my interview

    • @codingplanetbykk
      @codingplanetbykk 18 วันที่ผ่านมา

      You're welcome! I'm glad it helped for your interview.

  • @CodyAddison-p5b
    @CodyAddison-p5b 19 วันที่ผ่านมา

    ¡Qué chido el video de Climbing Stairs en C! Siempre me vuelvo loco con temas de algoritmos 😅. La verdad, practicar en codigo heroe ha sido súper útil para simplificar las cosas. 🙌🏻

  • @vashishk0602
    @vashishk0602 20 วันที่ผ่านมา

    Done 👍

  • @vashishk0602
    @vashishk0602 21 วันที่ผ่านมา

    Aa gaya smjh mei

  • @ashishverma4822
    @ashishverma4822 21 วันที่ผ่านมา

    Big fan sir aapke offline classes ka ab online ka bhi Mst smjh aaya sirji ❤

    • @codingplanetbykk
      @codingplanetbykk 21 วันที่ผ่านมา

      keep watching...i will teach every dp problem in bottom up manner

  • @Miss_Aralys
    @Miss_Aralys 3 หลายเดือนก่อน

    Hmm. It doesn't save it for me when I quit the terminal. I end up back with 2024 as the year.

  • @monumanish1144
    @monumanish1144 7 หลายเดือนก่อน

    you are doing great job sir,

  • @Lightningstar911
    @Lightningstar911 7 หลายเดือนก่อน

    Mic change kar lijiye bhaiya😅

  • @ashishverma4822
    @ashishverma4822 7 หลายเดือนก่อน

    Bhaut accha explanation sir

  • @saiei
    @saiei 7 หลายเดือนก่อน

    Noice

  • @codingplanetbykk
    @codingplanetbykk 7 หลายเดือนก่อน

    Guys By Mistake i have told that sqrt of 10^9 is 10^3 but it will be around 3*10^4 and 10^4*10^4 = 10^8 thatswhy the bruteforce solution is giving TLE. ignore 10^6 for that specific portion.

  • @pradippaudel5827
    @pradippaudel5827 7 หลายเดือนก่อน

    Sound not clear

  • @Lightningstar911
    @Lightningstar911 7 หลายเดือนก่อน

    Hello bhaiya

  • @ashishverma4822
    @ashishverma4822 7 หลายเดือนก่อน

    Good explanation sir

  • @Lightningstar911
    @Lightningstar911 8 หลายเดือนก่อน

    Hello bunty bhaiya kaise ho😅

  • @sbera87
    @sbera87 8 หลายเดือนก่อน

    Dude.. extremely poor sound quality.. Are you recording this in a Library?

  • @Frazzy97
    @Frazzy97 ปีที่แล้ว

    Hi, I followed the tutorial step by step more than once and everything is fine until I launch the "ignite relayer connet" command. When I launch this command I receive the error "✘ Invalid string. Length must be a multiple of 4" how can I solve it ? Thanks

  • @thepartyenergy
    @thepartyenergy ปีที่แล้ว

    Very easy... It really worked for me, thank you so much ❤️

  • @ashishverma4822
    @ashishverma4822 2 ปีที่แล้ว

    Good project 👍

  • @harindranathverma8630
    @harindranathverma8630 2 ปีที่แล้ว

    VERY GOOD

  • @gabrielsuarez8407
    @gabrielsuarez8407 2 ปีที่แล้ว

    Not working

  • @RaviSharma-nd3fu
    @RaviSharma-nd3fu 2 ปีที่แล้ว

    Good English 🙂🙂

  • @kevinr1698
    @kevinr1698 2 ปีที่แล้ว

    Should we change back to our time or it will fail, answer

  • @kishanyadav2610
    @kishanyadav2610 4 ปีที่แล้ว

    Helpful

  • @delfoquispemayta3188
    @delfoquispemayta3188 4 ปีที่แล้ว

    Excellent tutorial, my name is Delfo from Bolivia, now stay in Tokyo Japan.

  • @sk-point
    @sk-point 4 ปีที่แล้ว

    Hi

  • @crackit5747
    @crackit5747 4 ปีที่แล้ว

    Superb 👍

  • @jarj5313
    @jarj5313 4 ปีที่แล้ว

    thx bro continue go ahead and please put the code in the description next time.

    • @codingplanetbykk
      @codingplanetbykk 4 ปีที่แล้ว

      thank u bro... code : github.com/krishna6431/Random_Password_Generator_Python_Tkinter

    • @jarj5313
      @jarj5313 4 ปีที่แล้ว

      Coding Planet thx❣️ hope u reach 1 million

  • @devtalks6943
    @devtalks6943 4 ปีที่แล้ว

    Sirji Can You send the source good to my email-> devmehra425@gmail.com sir ji please i request you it will help me alot

  • @anmolagrawal690
    @anmolagrawal690 4 ปีที่แล้ว

    nice logic. Though can be done without converting to list using string slicing

  • @dark25_gamer
    @dark25_gamer 4 ปีที่แล้ว

    Did we need to buy?

  • @riturajsingh6938
    @riturajsingh6938 4 ปีที่แล้ว

    Very good Sir

  • @krishnakantverma6342
    @krishnakantverma6342 4 ปีที่แล้ว

    Awesome

  • @youcefas9011
    @youcefas9011 4 ปีที่แล้ว

    hey i've tried this code but i have an issue every time i generate a password no mater the lenth i choos its always 1 caracter password can i have some help pleas

    • @codingplanetbykk
      @codingplanetbykk 4 ปีที่แล้ว

      github.com/krishna6431/Random_Password_Generator_Python_Tkinter this is my github acc. where i uploaded the source code....u can go to my repo and see the code and findout where u are doing error

    • @youcefas9011
      @youcefas9011 4 ปีที่แล้ว

      @@codingplanetbykk thenx gonna do it tonight

    • @youcefas9011
      @youcefas9011 4 ปีที่แล้ว

      it was an indentation problem with the return of password thenx a looot

    • @codingplanetbykk
      @codingplanetbykk 4 ปีที่แล้ว

      @@youcefas9011 welcome buddy

  • @utkarshnegi1312
    @utkarshnegi1312 4 ปีที่แล้ว

    Not working bro...

    • @thepartyenergy
      @thepartyenergy ปีที่แล้ว

      It worked for me, try it again and make sure no mistakes

    • @utkarshnegi1312
      @utkarshnegi1312 ปีที่แล้ว

      @@thepartyenergy now my mac is not working bro lol hahahaha

  • @crackit5747
    @crackit5747 4 ปีที่แล้ว

    Good

  • @crackit5747
    @crackit5747 4 ปีที่แล้ว

    👍 appreciable 💥

  • @crackit5747
    @crackit5747 4 ปีที่แล้ว

    👍 deserve more like

  • @crackit5747
    @crackit5747 4 ปีที่แล้ว

    Really helpful ...

  • @mansisingh7768
    @mansisingh7768 4 ปีที่แล้ว

    Sorry bhaiya late ho gayee thoda sa

  • @mansisingh7768
    @mansisingh7768 4 ปีที่แล้ว

    Ek no bhaiya♥️♥️♥️♥️♥️

  • @harindranathverma8630
    @harindranathverma8630 4 ปีที่แล้ว

    👍👍👍👍👍

  • @Enigmatic_Kumar
    @Enigmatic_Kumar 4 ปีที่แล้ว

    Keep it up brother 👌👌👌

  • @shreyanshtripathi3379
    @shreyanshtripathi3379 4 ปีที่แล้ว

    🔥🔥👍

  • @subhendumishra4718
    @subhendumishra4718 4 ปีที่แล้ว

    Plz stop making these videos..😷😷 Korona failne ka darr hai..

    • @codingplanetbykk
      @codingplanetbykk 4 ปีที่แล้ว

      ye totally sanitized kiya gya h......kuch nahi hoga... kripya dare nahi....aur aane wale video ko zrur dekhe

  • @harindranathverma8630
    @harindranathverma8630 4 ปีที่แล้ว

    👍👍👍👍👍

  • @crackit5747
    @crackit5747 4 ปีที่แล้ว

    👍👍