Min Window Substring

Please help in finding out where is the mistake in the code??