https://practice.geeksforgeeks.org/problems/first-non-repeating-character-in-a-stream/0