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
Like target of this video is 90. If you understood the problem please do like.
This video deserves thousands of likes 😄
liked bhai
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.
Thanks 😊
@@RohitKumar-dz8dh ✨️✨️
I come back to your videos if I want to understand something in the most simplified way. Thanks for knowledge.
@@krutikadave4534 😄😄
I have solved this question on my own , easy one
cho prroud of u
@@singhvivek5098 badhiya
Love from England❤
what is sharma doing in england
kl to australia se love de rha tha aaj england ? lgta h world tour pr ho
amazing and simple as always
I will tag on linkedin
@@Nishant89-i2z thankyou, means a lot ❤️
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
today I solved by my own. But tree visualisation is best. Thankyou 🤩
@@PiyushSharma-we8yd 😄😄
Why we can't use == operation to check what difference they both have
@@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 😄
@@shashwat_tiwari_st Thanks 🙏🏻
question toh bahana hai....hume toh attendance lagana haii😌
int main(){
cout
@@saiei rojj karungaa.... Tu rojj chidega.. Majaa aayega😌
@@adarshjain3058 good good✨️👏