Vanta - Senior Full Stack Engineer - Phone Screen

Title Template

Vanta - Senior Full Stack Engineer - Phone Screen

Description Template:
Level: Senior Full Stack Software Engineer
Education: Masters
Years of Experience: 6.5
Questions Asked: Given an array of numbers and a string, figure out the pattern to return true or false.
[1, 2, 1, 2], “dog cat dog cat” - true
[1,2,2,1], “dog cat cat dog” - true
[1,2,2,1], “dog cat cat cat” - false

Expanded the question to do it for nested deep level array
[[1,2], 3] , “dog cat” - Any combination for given index - [1], [2], [2,1], [1,2] - dog