Available question text
Simulate the folder navigation described by the logs and track the current depth (or stack height): "x/" increments depth, "./" is a no-op, "../" decrements depth but not below 0. Return the final depth as the minimum number of "../" operations needed to return to the main folder.
Related questions
Continue with questions that share topics or the same question type.
- Build a concurrent web crawler
Coding · Concurrency · Networking
- Design a single- and multi-threaded web crawler
Coding · Concurrency · Graphs
- Design Log Storage System
Coding
- Find Minimum Log Transportation Cost
Coding
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 1598. Crawler Log Folder
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source