When building production RAG systems, how do you choose between cosine similarity, dot product, and Euclidean distance
99
Recently had my first round for an AI/ML Engineer role at a top MNC
Sharing some key technical questions asked👇
Core AI/ML Topics
> Explain LLMs and various Fine-tuning techniques
> What is RAG (Retrieval-Augmented Generation) and how does it work?
> Explain Prompting Techniques — Few-shot, Chain-of-thought, etc.
> What if Chain of Thought prompting fails?
> Explain the Transformer Architecture — how do Query, Key, and Value interact in the Attention mechanism?
1
43
Imagine you running a pizza franchise and struggling with no-shows after orders are placed. What features would you include in a model to predict which customers might not show up?
4
106
Day 52 of my #DSA challenge!
Solved 1 problem - Leetcode
4. Median of Two Sorted Arrays
1
63
Day 51 of my #DSA challenge!
Solved 1 problem - Leetcode
1658. Minimum Operations to Reduce X to Zero
2
81
Day 50 of my #DSA challenge!
Solved 1 problem - Leetcode
974. Subarray Sums Divisible by K
3
80
Day 49 of my #DSA challenge!
Solved 2 problems - Leetcode
525. Contiguous Array
560. Subarray Sum Equals K
1
71
Day 48 of my #DSA challenge!
Solved 1 problem - Leetcode
523. Continuous Subarray Sum
1
60
Day 47 of my #DSA challenge!
Solved 1 problem - Leetcode
238. Product of Array Except Self
2
81
Day 46 of my #DSA challenge!
Solved 3 problems - Leetcode
1732. Find the Highest Altitude
1480. Running Sum of 1d Array
1588. Sum of All Odd Length Subarrays
3
84
Day 45 of my #DSA challenge!
Solved 2 problems - Leetcode
1422. Maximum Score After Splitting a String
1413. Minimum Value to Get Positive Step by Step Sum
1
66
Day 44 of my #DSA challenge!
Solved 2 problems - Leetcode
724. Find Pivot Index
303. Range Sum Query - Immutable
3
64
Day 43 of my #DSA challenge!
Solved 1 problem - Leetcode
395. Longest Substring with At Least K Repeating Characters
1
56
Day 42 of my #DSA challenge!
Solved 2 problems - Leetcode
142. Linked List Cycle II
347. Top K Frequent Elements
1
51
Day 41 of my #DSA challenge!
Solved 1 problem - Leetcode
49. Group Anagrams
2
78

