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

preview_player
Показать описание
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:

Graph Playlist:

Java Plus DSA Placement Course Playlist:

Java Plus DSA Sheet:

Notes:

Telegram Link:

Ultimate Recursion Series Playlist:

Samsung Interview Experience:

Company Tags:
Facebook | Amazon | Microsoft | Netflix | Google | LinkedIn | Pega Systems | VMware | Adobe | Samsung

Timestamp:
0:00 - Introduction

#ShashwatTiwari #coding​​ #problemsolving​
Рекомендации по теме
Комментарии
Автор

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.

nitishrai
Автор

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

shashwat_tiwari_st
Автор

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

krutikadave
Автор

I have solved this question on my own, easy one

singhvivek
Автор

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

PiyushSharma-weyd
Автор

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

HA_edits
Автор

question toh bahana hai....hume toh attendance lagana haii😌
int main(){
cout<<"attendance++";
}

adarshjain
Автор

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

vivekgosai
welcome to shbcf.ru