Interview Questions

Find string in stream

Write a function that returns TRUE once it encounters string in a stream of characters. You can call "GetChar()" function which returns next character from the stream.

View Solution
comments powered by Disqus