Hulu Interview Question

- 1 Python question: build a class that takes an array as input, and define a function that tkaes

Interview Answer

Anonymous

Aug 21, 2024

1. Define class and init (self.vector = vector) 2. Def similarity(vec_ix_1, vec_ix_2) where inputs are index of vectors to evaluate similarity score for.