Process String with Special Operations II

Link: https://leetcode.com/problems/process-string-with-special-operations-ii/ 📖 Interpreting the Problem We’re given a string s composed of lowercase letters and three special characters: *, #, and %. Each character modifies an initially empty string result as we iterate from left to right. After processing the entire string, we’re to return the k-th character of result (0-based). If k is…