Splice Interview Question

How does a vector database search algorithm work?