Genius Sports - Senior Software Engineer - Tech Screen
Level: Senior
Education: Bachelor’s
Years of Experience: 8
Questions Asked:
Questions about background and resume details. Technical follow ups on resume items.
Given a text like “A quick brown fox jumps over the lazy dog.” Find the count of the phrase which is an input, that appears in the text.
Case can be an option for getting the exact match or text match.
Also, write all unit test cases associated with the question.
function phraseCount(phrase, text)