/ QUESTION BANK

Real questions. From real interviews.

Filter by track, sub-track, difficulty and company. Click any question to start a mock.

428 questions· AI / MLPage 1 of 9
HardLangGraphai

How do you implement a supervisor agent in LangGraph?

How do you implement a supervisor agent in LangGraph?

HardLangGraphai

What are the main multi-agent patterns in LangGraph?

What are the main multi-agent patterns in LangGraph?

HardLangGraphai

How do you implement a tool that modifies graph state directly?

How do you implement a tool that modifies graph state directly?

MediumLangGraphai

How do you bind tools to an LLM in LangGraph?

How do you bind tools to an LLM in LangGraph?

MediumLangGraphai

What is create_react_agent and when should you use it vs building a custom graph?

What is create_react_agent and when should you use it vs building a custom graph?

HardLangGraphai

How do you implement parallel tool execution in LangGraph?

How do you implement parallel tool execution in LangGraph?

MediumLangGraphai

How do you handle tool errors in LangGraph?

How do you handle tool errors in LangGraph?

MediumLangGraphai

What is a ToolNode and how does it work?

What is a ToolNode and how does it work?

MediumLangGraphai

What is the difference between interrupt_before and interrupt_after?

What is the difference between interrupt_before and interrupt_after?

MediumLangGraphai

How do you resume a graph after a human-in-the-loop interrupt?

How do you resume a graph after a human-in-the-loop interrupt?

HardLangGraphai

What is the interrupt() function and how does it differ from compile-time interrupts?

What is the interrupt() function and how does it differ from compile-time interrupts?

MediumLangGraphai

How do you implement human-in-the-loop in LangGraph?

How do you implement human-in-the-loop in LangGraph?

HardLangGraphai

How do you implement cross-thread memory (shared state across conversations)?

How do you implement cross-thread memory (shared state across conversations)?

HardLangGraphai

What is checkpoint_ns and when does it matter?

What is checkpoint_ns and when does it matter?

MediumLangGraphai

How do you update state manually between graph invocations?

How do you update state manually between graph invocations?

HardLangGraphai

How does time-travel work in LangGraph?

How does time-travel work in LangGraph?

MediumLangGraphai

Explain the concept of checkpoints, threads, and runs in LangGraph.

Explain the concept of checkpoints, threads, and runs in LangGraph.

MediumLangGraphai

What is a thread_id and how does it relate to checkpointing?

What is a thread_id and how does it relate to checkpointing?

MediumLangGraphai

What checkpointer backends does LangGraph support?

What checkpointer backends does LangGraph support?

MediumLangGraphai

What is a checkpointer in LangGraph and why is it critical?

What is a checkpointer in LangGraph and why is it critical?

MediumLangGraphai

What is a conditional edge and how do you implement one?

What is a conditional edge and how do you implement one?

MediumLangGraphai

How does LangGraph handle cycles, and why are they useful?

How does LangGraph handle cycles, and why are they useful?

EasyLangGraphai

What is the difference between invoke, stream and astream on a compiled graph?

What is the difference between invoke, stream and astream on a compiled graph?

EasyLangGraphai

What is graph compilation and what does it do?

What is graph compilation and what does it do?

MediumLangGraphai

How do you add nodes and edges to a StateGraph?

How do you add nodes and edges to a StateGraph?

EasyLangGraphai

What is the role of START and END nodes in LangGraph?

What is the role of START and END nodes in LangGraph?

HardLangGraphai

What are reducers in LangGraph and why are they important?

What are reducers in LangGraph and why are they important?

MediumLangGraphai

Explain the concept of "state" in LangGraph. How is it managed?

Explain the concept of "state" in LangGraph. How is it managed?

MediumLangGraphai

What is a StateGraph and how is it different from a MessageGraph?

What is a StateGraph and how is it different from a MessageGraph?

HardLangGraphai

What is LangGraph and how does it differ from LangChain's LCEL?

What is LangGraph and how does it differ from LangChain's LCEL?

MediumLangChainai

How do you implement unit tests for LangChain chains?

How do you implement unit tests for LangChain chains?

MediumLangChainai

Write a function to optimize LangChain memory usage.

Write a function to optimize LangChain memory usage.

EasyLangChainai

How do you document LangChain applications?

How do you document LangChain applications?

EasyLangChainai

What is the role of environment configuration in LangChain?

What is the role of environment configuration in LangChain?

EasyLangChainai

How do you handle large-scale data in LangChain applications?

How do you handle large-scale data in LangChain applications?

EasyLangChainai

What is caching in LangChain, and how is it used?

What is caching in LangChain, and how is it used?

EasyLangChainai

How do you ensure reproducibility in LangChain applications?

How do you ensure reproducibility in LangChain applications?

EasyLangChainai

What are best practices for structuring LangChain code?

What are best practices for structuring LangChain code?

HardLangChainai

How do you implement interactive visualizations for LangChain outputs?

How do you implement interactive visualizations for LangChain outputs?

HardLangChainai

Write a function to generate a LangChain workflow diagram.

Write a function to generate a LangChain workflow diagram.

HardLangChainai

How do you visualize LangChain error rates in production?

How do you visualize LangChain error rates in production?

HardLangChainai

Write a function to visualize LangChain chain latency.

Write a function to visualize LangChain chain latency.

HardLangChainai

How do you implement a real-time visualization for LangChain inference?

How do you implement a real-time visualization for LangChain inference?

HardLangChainai

Write a function to visualize LangChain vector store embeddings.

Write a function to visualize LangChain vector store embeddings.

MediumLangChainai

How do you visualize LangChain agent reasoning steps?

How do you visualize LangChain agent reasoning steps?

MediumLangChainai

Implement a function to plot LangChain evaluation trends.

Implement a function to plot LangChain evaluation trends.

MediumLangChainai

How do you visualize LangChain retrieval results?

How do you visualize LangChain retrieval results?

MediumLangChainai

Write a function to visualize LangChain memory growth.

Write a function to visualize LangChain memory growth.

MediumLangChainai

How do you implement a dashboard for LangChain metrics?

How do you implement a dashboard for LangChain metrics?

MediumLangChainai

Write a function to visualize LangChain chain dependencies.

Write a function to visualize LangChain chain dependencies.