What is a graph? Graph traversal algorithms?
Can you apply more than one decorator to a function?
What are you looking for in a company right now? What is missing in current offerings?
When can we call commit on a Producer? How to avoid duplicates when manually committing a batch?
In which technologies do you feel most confident?
What is the algorithmic complexity of external merge sort for sorting a large file?
How do you localize a problem with a slow handle? What to do with a falling external dependency?
Why are indexes needed in databases? What are the disadvantages? What data structure is used for a standard index?
What data types are there in Python? Tell me about mutable and immutable types.
How do you envision your role in the project?
How does caching work in Dockerfile? How to reduce the time of subsequent builds?
What is application monitoring (health-checks, URL availability)?
from fastapi import FastAPI, UploadFile, Response from fastapi.responses import StreamingResponse from pydantic import BaseModel, field_validator import base64 app = FastAPI() class PdfSchema(BaseModel): filename: str content_type: str data: str # base64 pdf 10мб @app.get("/data", response_model=PdfSchema) async def get_data(): return await service.get_big_data() @app.get("/download") async def download(): with open("big.pdf", "rb") as f: data = f.read() return Response(content=data, media_type="application/pdf") def heavy_pdf_parse(data: bytes) -> dict: # CPU-heavy логика return {"size": len(data)} @app.post("/parse") async def parse(file: UploadFile): content = await file.read() result = heavy_pdf_parse(content) return result @app.get("/users") async def get_users(): users = await repo.get_users() result = [] for u in users: posts = await repo.get_posts(u["id"]) result.append({"user": u, "posts": posts}) return result @app.get("/download-two") async def download_two(): def iterfile(): with open("big.pdf", "rb") as f: yield from f return StreamingResponse(iterfile(), media_type="application/pdf") class service: @staticmethod async def get_big_data(): return { "filename": "file.pdf", "content_type": "application/pdf", "data": base64.b64encode(b"fake").decode(), } class repo: @staticmethod async def get_users(): return [{"id": 1}, {"id": 2}] @staticmethod async def get_posts(user_id: int): return [{"id": 1, "user id": user_id}]
Do you know what Zabbix is?
On which project did you work the most with Python and what exactly did you do?
Have you been in search or outsourcing/in-house projects or a break since May?
Tell about your job search experience: how active are you in the search, at what stages are you?
Situation with code review: [name] wrote a large PR, [name] reviews, PR is hanging — [name] constantly returns with new comments. How to solve tactically and strategically?
Find a fixed-size submatrix KX×KY with the maximum average value of elements
Tell me about the product/project you worked on and your main tasks.