Vector database deep dive and cosine similarity math

Deloitte·AI Engineer·Reported Oct 2026
Rejected

Most of my Deloitte AI Engineer interview was about my own resume, which caught me off guard for a role with 'AI' in the title. The interviewers went through the projects I had listed and kept asking me to go deeper than I had prepared for, so anything I had only skimmed on paper got picked apart. The process had one DSA round, which was a standard data structures and algorithms problem, followed by two technical discussions. Those discussions moved between my resume and general GenAI concepts.

The hardest discussion for me was about vector databases. I was expected to explain the underlying algorithms that make similarity search work, not just name the database I had used. The question that really tested me was how cosine similarity is computed between two embedding vectors. I could say it measured the angle between them, but I struggled to walk through the math cleanly under pressure, and that gap showed.

I didn't get an offer. Looking back, I had prepared broadly for AI concepts but not deeply enough for my own projects. If I had gone through each project line by line and asked myself how every component actually worked, I would have been on much firmer ground.

Prep tip from the candidate

Be ready to explain every project on your resume at the implementation level, especially any vector database work. Also be able to derive cosine similarity from the dot product and vector norms rather than just describing it conceptually.

Source: Interview Query. AI-anonymized by the source and lightly edited for clarity.

Published

Curated and edited by PracHub

Discussion

Sign in or to join the discussion. The author is notified of every comment.

Loading comments…

Interview at a glance

Company
Deloitte
Role
AI Engineer
Outcome
Rejected
Date
Reported Oct 2026

Related interview experiences

Explore more interview rounds, questions, and outcomes.

Browse interview experiences