this repo mirror my leetcode solutions - https://leetcode.cn/u/lightning-strike/ nested structure can be handled using stack no.385 - mini parser