Retrieve Relevant Memories by Query | Agentic AI Interview Problem