Does the candidate have an academic degree or higher education?
Python
Can you explain the differences between asynchronous and parallel execution of operations?
Condition: Given two arrays of objects. Each object contains a numeric field 'code'. Return a new array containing all objects from array a for which there exists an object in array b with the same 'code' value. The order of elements in the result is determined by the order of the corresponding 'code' in array b: objects from a should be arranged in the order in which their 'code' appears in b. If multiple objects with the same 'code' appear in b, only the first occurrence is considered. Input data: - a — array of objects of the form { code: number, ...rest }, length from 0 to 10^5 - b — array of objects of the form { code: number, ...rest }, length from 0 to 10^5 Output data: Array of objects from a, filtered and ordered by the first occurrence of the corresponding 'code' in b. Constraints: - 0 <= a.length, b.length <= 100 000 - The 'code' field is a non-negative integer - b may contain duplicate 'code' values — only the first occurrence is considered Example function: ```python # Available without import: json, sys, io def intersect_by_code(a, b): # Write solution here return [] ```
How to check if two objects are the same instance of Singleton?
Is it possible to make the `finally` block not execute?
Explain the concept and purpose of database migrations in the process of application development and maintenance
Can you explain what is meant by creational patterns in software development?
What is `Depends` in FastAPI?
How does the `try`/`finally` construct work without `except` and what is it used for?
How are data migration processes carried out in databases?
Why is `pytest` parameterization preferred over a `for` loop inside a single test?
How is the efficiency of data search in a hash table evaluated?
What questions would you like to ask about the company during the interview?
Do you write tests? What types of tests and tools do you use?
What methods and tools do you know for cache correctness verification?
Have you used multi-stage builds in Docker and why are they needed?
Explain what a data race condition is in Python applications and why it is dangerous?
What is ACID and how do these properties manifest in practice?
How to run the same test with different parameter sets in `pytest`?
What are Docker layers and how to consider them when writing Dockerfile?