1598. Crawler Log Folder | Leetcode Daily Challlenge | tree levels | DSA | Java | Hindi

Поделиться
HTML-код
  • Опубликовано: 22 авг 2024
  • Problem Name:
    1598. Crawler Log Folder
    Problem Statement:
    The Leetcode file system keeps a log each time some user performs a change folder operation.
    The operations are described below:
    "../" : Move to the parent folder of the current folder. (If you are already in the main folder, remain in the same folder).
    "./" : Remain in the same folder.
    "x/" : Move to the child folder named x (This folder is guaranteed to always exist).
    You are given a list of strings logs where logs[i] is the operation performed by the user at the ith step.
    The file system starts in the main folder, then the operations in logs are performed.
    Return the minimum number of operations needed to go back to the main folder after the change folder operations.
    Problem Link:
    leetcode.com/p...
    Graph Playlist:
    • Graph Data Structure S...
    Java Plus DSA Placement Course Playlist:
    • Java and DSA Course Pl...
    Java Plus DSA Sheet:
    docs.google.co...
    Notes:
    github.com/Tiw...
    Telegram Link:
    shashwattiwari...
    Ultimate Recursion Series Playlist:
    • Recursion and Backtrac...
    Instagram Handle: (@shashwat_tiwari_st)
    shashwattiwari...
    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​

Комментарии • 26

  • @shashwat_tiwari_st
    @shashwat_tiwari_st  Месяц назад +7

    Like target of this video is 90. If you understood the problem please do like.

    • @krutikadave4534
      @krutikadave4534 Месяц назад

      This video deserves thousands of likes 😄

    • @saiei
      @saiei Месяц назад

      liked bhai

  • @nitishrai6239
    @nitishrai6239 Месяц назад

    After solving questions by myself coming here daily to learn a better approach, but I did exactly the same approach today . Gaining confidence to solve questions Thanks.

  • @RohitKumar-dz8dh
    @RohitKumar-dz8dh Месяц назад +1

    Thanks 😊

  • @krutikadave4534
    @krutikadave4534 Месяц назад +1

    I come back to your videos if I want to understand something in the most simplified way. Thanks for knowledge.

  • @singhvivek5098
    @singhvivek5098 Месяц назад

    I have solved this question on my own , easy one

  • @GirjeshSharma-zv3xo
    @GirjeshSharma-zv3xo Месяц назад +1

    Love from England❤

    • @saiei
      @saiei Месяц назад

      what is sharma doing in england

    • @AnkitYadav-dm7fp
      @AnkitYadav-dm7fp Месяц назад

      kl to australia se love de rha tha aaj england ? lgta h world tour pr ho

  • @saisree04
    @saisree04 Месяц назад

    amazing and simple as always

  • @Nishant89-i2z
    @Nishant89-i2z Месяц назад

    I will tag on linkedin

  • @HA000_edits
    @HA000_edits Месяц назад

    Sir leetcode problem no 2952 ka solution viedo upload kar dijiye bohot confusion hai half test cases hi pass ho rahe hai please sir ❤ bohot try Kara solve karne ka

  • @PiyushSharma-we8yd
    @PiyushSharma-we8yd Месяц назад

    today I solved by my own. But tree visualisation is best. Thankyou 🤩

  • @vivekgosai7913
    @vivekgosai7913 Месяц назад

    Why we can't use == operation to check what difference they both have

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  Месяц назад +1

      @@vivekgosai7913 == is used for address comparison, whereas equals is used for value comparison.
      String a = "sha";
      String b = "sha";
      a==b will be false.
      a equals b will be true.. understood?
      You can watch String lectures in java dsa playlist, that will be helpful 😄

    • @vivekgosai7913
      @vivekgosai7913 Месяц назад

      @@shashwat_tiwari_st Thanks 🙏🏻

  • @adarshjain3058
    @adarshjain3058 Месяц назад

    question toh bahana hai....hume toh attendance lagana haii😌
    int main(){
    cout

    • @adarshjain3058
      @adarshjain3058 Месяц назад

      @@saiei rojj karungaa.... Tu rojj chidega.. Majaa aayega😌

    • @shashwat_tiwari_st
      @shashwat_tiwari_st  Месяц назад

      @@adarshjain3058 good good✨️👏