
Ema Interview Experience
Ema Interview Experience for Fresher AI Resident, Jan 2026
AI Resident
Fresher
Website
1 month
NA, (Salary package: 35 LPA)
Computer Science Engineering
1 Rounds
Application Experience
I got to know about this opportunity through a friend of mine from IIT BHU. I applied through their portal in December 2025 and received a follow-up to schedule an interview in early January this year.
Preparation
Topics Prepared: DSA, Graph, DP, Greedy Algorithm, Puzzles
Preparation Tips
Tip 1: Since this was an AI residency program, ML courses would be highly beneficial. Tip 2: Build a strong foundation in probability.
Resume Tips
Tip 1: Include ML coursework on your resume. I had a DSAI minor at the time, which likely helped. Tip 2: Highlight ML projects on your resume.
Interview Rounds (1)
Detailed breakdown of each evaluation round, questions asked, and candidate approaches.
Round 1 — Video Call
I was asked some ML questions and why I wanted to work at an AI startup. After I was unable to answer the ML questions, he asked me a simple DSA problem, which I was able to solve.
Problems & Questions Asked (2)
Detect Cycle In A Directed Graph
You are given a directed graph having ‘N’ nodes. A matrix ‘EDGES’ of size M x 2 is given which represents the ‘M’ edges such that there is an edge directed from node EDGES[i][0] to node EDGES[i][1]. Find whether the graph contains a cycle or not, return true if a cycle is present in the given directed graph else return false. For Example : In the following directed graph has a cycle i.e. B->C->E->D->B. Note : 1. The cycle must contain at least two nodes. 2. It is guaranteed that the given graph has no self-loops in the graph. 3. The graph may or may not be connected. 4. Nodes are numbered from 1 to N. 5. Your solution will run on multiple test cases. If you are using global variables make sure to clear them. Input Format : The first line of input contains an integer 'T' representing the number of the test case. Then the test cases are as follows. The first line of each test case argument given is an integer ‘N’ representing the number of nodes in the graph. The second line of each test case contains a given integer ‘M’ representing the number of edges. The next ‘M’ lines in each test case contain a matrix ‘EDGES’ of size M x 2 which represents the ‘M’ edges such that there is an edge directed from node EDGES[i][0] to node EDGES[i][1]. Output Format : For each test case, print true if a cycle is present in the given directed graph else print false. Note : You do not need to print anything; It has already been taken care of. Constraints : 1 ≤ T ≤ 5 2 <= N <= 100 1 <= M <= min(100,N(N-1)/2) 1 <= EDGES[i][0], EDGES[i][1] <= N Where ‘T’ is the number of test cases. Time Limit: 1 sec
Machine Learning
In an agentic AI system like Ema’s that handles long-running conversations and performs multiple tool-calling steps, explain why KV (Key-Value) caching is important for efficient inference. Discuss how it helps with maintaining context across interactions, reducing recomputation, and improving response speed. Also describe the trade-offs involved, particularly in terms of increased memory usage, scalability challenges, and latency optimization. Standard self-attention has a memory complexity of O(n2)O(n^2)O(n2) with respect to sequence length. Explain how FlashAttention optimizes the attention mechanism to reduce memory overhead and improve efficiency. Why is this considered a major breakthrough for deploying agentic AI systems that require long context windows? In Reinforcement Learning, explain the key components of a Markov Decision Process (MDP) and their roles in defining an environment for decision-making.
Tip 1: Experience with agentic AI.
Selection Perspective
I believe I was rejected because I was unable to answer some of the ML questions they asked. Also, the interview had less emphasis on DSA compared to typical SDE companies, and they seemed to expect candidates to have an ML background.
Key Preparation Tips
Prepare DSA thoroughly.
Practice aptitude and puzzle-based questions.
Have at least two good projects on your resume.
Be prepared to explain your projects clearly.
Practice coding problems involving Arrays, Binary Search, DP and Recursion.
Prepare common HR questions such as Tell me about yourself and Who is your role model?
More Interview Experiences

Amazon
SDE - Intern
Amazon Interview Experience for Fresher SDE - Intern — Oct 2025

Hotstar
SDE – Intern
Disney+ Hotstar SDE Intern Interview Experience

Salesforce
AMTS