Intel Corporation interview question

2. First Unique Character in a String The second question involved processing a string and returning the first character that appears only once. This problem is identical to LeetCode 387 - First Unique Character in a String. Follow-up: The interviewer extended the question, asking how to solve it in a streaming scenario, where characters arrive one by one. This variation aligns with LeetCode 1429 - First Unique Number, requiring an efficient way to maintain the first unique character dynamically as new characters arrive.