Sobes.tech

What personal characteristics can create difficulties in your professional activity?

Junior — Middle
203

How do you usually recover after a workday?

Junior — Middle
203

What are the differences in capabilities and approaches when using pydantic and dataclasses in Python?

Junior — Middle
203

Is there an option for multiple inheritance in Python?

203

What is Middleware in FastAPI and why is it needed?

Middle
203

What special methods need to be implemented when creating a custom context manager in Python?

Junior — Middle
203

How do NumPy and Pandas work with GIL?

Middle+
203

Have you ever used YAML to describe configurations or manifests?

Junior — Middle
203

Have you had experience with containerization technologies and deploying applications in containers?

Junior — Middle
203

Maximum length of consecutive ones after deleting one element (Max Consecutive Ones After Deleting One Element) Condition: Given a non-empty array consisting of only zeros and ones. Find the maximum length of consecutive ones that can be obtained by deleting exactly one element from the array. Deleting one element is mandatory, even if the array consists entirely of ones. Input data: - nums – a non-empty array of integers, each element is 0 or 1 Output: - An integer – the maximum length of consecutive ones after deleting exactly one element Constraints: - 1 <= nums.length <= 10^5 - nums[i] is 0 or 1 Example: Go code: ```go // Available without import: sort, fmt, encoding/json package main func MaxOnes(nums []int) int { // TODO: write solution here return 0 } ``` Python code: ```python # Available without import: json, sys, io def max_ones(nums): # TODO: write solution here return 0 ```

203

Can you explain what is meant by sequential scanning of a table in a database?

Junior — Middle
203

What types of resource management mechanisms exist in Python?

Junior — Middle
203

How to implement A() + B() = C()? How to add two objects and get a third?

Middle
203

Can Python be considered a language that is compiled before execution?

Junior — Middle
203

How to set up and use Celery for asynchronous task execution in a Django project?

Junior — Middle
203

What is the role of the __iter__ method in implementing iterators in Python?

Junior — Middle
203

How does message passing occur in the RabbitMQ system?

Junior — Middle
203

In what cases should function parameters be specified in their declarations?

Junior — Middle
203
/559