← All problemsSign in

1598. Crawler Log Folder

LeetCodeArrayStringStackOpen on judge ↗

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

HINT LADDERno hints yet
L1 Observation
L2 Technique
L3 Approach
L4 Pseudo-code
🔒
L5 Full solution
L5 unlocks only if you insist twice
solution.cppC++17

CodeSearch Tutor

Hints, not spoilers — it won’t hand over the full solution unless you insist.

voice by Sarvam AI

Sign in to chat with the tutor and save your progress.

Sign in to start