one stack one queue
added problem description