LeetCode 864 Shortest Path to Get All Keys

Sdílet
Vložit
  • čas přidán 28. 07. 2024
  • Telegram Link: t.me/+FieKB7Ds6j02Y2Y1

Komentáře • 19

  • @neerajgupta9151
    @neerajgupta9151 Před 10 měsíci +1

    was desperately searching for a good explanation, my search ends here!! thank you

  • @rupdeepthey
    @rupdeepthey Před rokem +1

    Thanks a lot for the detailed explanation.

  • @adarshanand7204
    @adarshanand7204 Před 4 měsíci

    00:02 Problem requires step-by-step approach
    02:20 Finding the shortest path to collect all keys
    04:43 Path to obtaining keys to unlock cells.
    07:03 Using binary representation to store key configurations efficiently
    09:15 Using numbers to represent key configurations simplifies identification
    11:37 Algorithm for finding shortest path to get all keys.
    13:49 Finding the shortest path to get all keys with specific conditions.
    16:03 Traversal and key management in pathfinding algorithm.
    18:00 Iterating over elements in the queue and updating steps

  • @146_shashanks4
    @146_shashanks4 Před rokem +1

    Your explanation is good bro 😊

  • @samakshsangwan1806
    @samakshsangwan1806 Před rokem +1

    can we use dfs in this ?

    • @c0de_sutra
      @c0de_sutra  Před rokem

      Yes dfs with backtracking can be used to solve this.

  • @146_shashanks4
    @146_shashanks4 Před rokem +1

    Can you share your linkedin profile bro?

    • @c0de_sutra
      @c0de_sutra  Před rokem

      www.linkedin.com/in/jeevan-kumar-4568a1163/

  • @146_shashanks4
    @146_shashanks4 Před rokem

    Bro are you from Karnataka?

  • @eyob_worku
    @eyob_worku Před 14 dny +1

    you are the best

  • @kneeyaa
    @kneeyaa Před rokem +1

    Why your date is 9 jan

    • @c0de_sutra
      @c0de_sutra  Před rokem +1

      Haha. Good Observation. I am a time traveller.