GenAI / LLM track

GenAI and LLM interview questions

Panel-ready GenAI / LLM questions for freshers and experienced developers. Practice at Coding Cadre in Faridabad, or Online from Delhi NCR.

223 Qs
129 Moderate Context window GenAI / LLM

What is the lost-in-the-middle problem?

Short take

Simple meaning

Models often use the start and end of a long prompt more than the middle.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
132 Moderate Chunking GenAI / LLM

What is parent-document retrieval?

Short take

Simple meaning

You embed small child chunks for precise search, then return a larger parent section to the LLM.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
135 Moderate Hybrid search GenAI / LLM

How do you fuse BM25 hits with vector hits?

Short take

Simple meaning

Common methods are reciprocal rank fusion, weighted score mixes after normalization, or a learned reranker on the union.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
137 Moderate Hybrid search GenAI / LLM

What is reciprocal rank fusion?

Short take

Simple meaning

RRF combines ranked lists by summing 1 over k plus rank for each document across systems.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
138 Moderate Hybrid search GenAI / LLM

What is Maximal Marginal Relevance in retrieval?

Short take

Simple meaning

MMR reranks hits to balance relevance with diversity so near-duplicate chunks do not fill the prompt.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
140 Moderate Prompting GenAI / LLM

Why does streaming matter in LLM APIs?

Short take

Simple meaning

Streaming sends tokens as they are generated instead of waiting for the full completion.

Open the full page for Why, Steps, Example and Key takeaway.

Read full answer Example · Mistake · Say this
Prev Page 7 of 12 Next
Chat with us