Tip 1: Since this was an AI residency program, ML courses would be highly beneficial.
Tip 2: Build a strong foundation in probability.
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.
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.



In the following directed graph has a cycle i.e. B->C->E->D->B.

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.
Tip 1: Experience with agentic AI.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
Which data structure is used in the implementation of recursion?