Print the words within k positions of every occurrence of a keyword, each word once even when windows overlap — then do it on a stream. Asked in two Verily onsites.
Print the words within k positions of every occurrence of a keyword, each word once even when windows overlap — then do it on a stream. Asked in two Verily onsites.
Unlock the full question, the code runner with test cases, and reference solution
One-time unlock. Yours forever.
Or get a for every question, unlimited code runs and AI mock interviews.
Be the first to discuss this question
Approaches, follow-up questions and how the interview went. Unlock the question to read and join the discussion.