Question d’entretien chez Capital One

Q: There are three technical interview questions. 1. Object-oriented system design. 2. Leetcode - if the string pattern is same "aba" = "dog cat dog" should return true and "aba" = "cat cat cat" should return false.