First Unique Character in a Stream
After each character of the stream, print the first character that has appeared exactly once so far, or # if none.
Constraints
1 <= |s| <= 10^5
Discussion
No discussions yet.
Shalyam Support
Hi! Ask us anything — we'll reply on WhatsApp or Telegram within 24 hours.