InterviewTreedInterviewTreed

The question library

Technical interview questions and answers

Explore practical questions, clear explanations, and code examples across developer technologies.

Showing 2977–2988 of 3610 questions

Python ProgrammingAdvanced1 min read

RAG chunking

Chunking splits source documents into retrievable pieces; size and overlap affect retrieval precision and context.

Python ProgrammingAdvanced1 min read

AI evaluation

Evaluate correctness, groundedness, relevance, latency, cost, refusal behavior, and security on representative cases.

Python ProgrammingAdvanced1 min read

Tool-calling agents

An agent proposes tool calls to accomplish tasks; the application validates arguments and permissions before execution.

Python ProgrammingAdvanced1 min read

Safe tool execution

Use allowlists, strict schemas, authorization, scoped credentials, timeouts, audit logs, and confirmation for consequent…

Python ProgrammingAdvanced1 min read

SQL injection

SQL injection occurs when untrusted input changes query structure; parameters keep values separate from SQL syntax.

Python ProgrammingAdvanced1 min read

Profiling

Measure before optimizing; timeit benchmarks snippets and cProfile helps find program hotspots.

Python ProgrammingAdvanced1 min read

Memory efficiency

Generators, chunked processing, and avoiding unnecessary copies reduce memory pressure.

Python ProgrammingAdvanced1 min read

Dates and time zones

Use timezone-aware timestamps for real-world events; normalize to UTC for storage and convert for display.

Python ProgrammingAdvanced1 min read

GIL and parallelism

In standard CPython, the GIL limits simultaneous Python-bytecode execution by threads; I/O can overlap, while CPU work m…