LeetCode
Stream of Characters
Click
here
for an explanation.