Substring Matching Smart Interviews Basic Solutions