Day 90 of 133
Agent protocols: MCP & A2A deep dive
MCP host/client/server; A2A; shared tool registries.
DSA · NeetCode Intervals
- Minimum Interval TO Include Each QueryDSA · Intervals
Interview questions to prep
- Do you sort by start or by end? Defend the choice based on the invariant you need.
- Walk through merge / overlap detection: what's your condition for 'overlapping'?
- How does complexity break down: O(n log n) sort + O(n) sweep — can you do better in any case?
GenAI · MCP, A2A, agent protocols
Interview questions to prep
- What's the MCP architecture (host, client, server)?
- When would you build an MCP server vs use function calling directly?
Interview questions to prep
- What problem does A2A solve over ad-hoc agent integration?
- Compare MCP and A2A — when do you reach for each, and can they coexist?
Interview questions to prep
- How would you design a shared tool registry for multiple agents in your company?
- How do you handle versioning and breaking changes in tool definitions consumed by many agents?
References & further reading