Sobes.tech

What is the purpose of annotations with '@' in Python, and how do they work?

Junior — Middle
192

What tasks can be solved with a generator?

Junior — Middle
192

Have you ever encountered a situation where you need to ensure re-execution of a POST request without changing the result?

Junior — Middle
192

Describe the key classes used in the Django framework.

Junior — Middle
192

What methods are used to test applications in Django?

Junior — Middle
192

What methods and tools do you use to collect data from web pages through parsing?

Junior — Middle
192

How to determine the time complexity of inserting an element into the middle of a linked list or array-like list?

Junior — Middle
192

Can you list the main network protocols you know?

Junior — Middle
192

What ways do you see for developing your career and professional skills within the company?

Junior — Middle
192

Can you explain what a set is in Python and what its main purpose is?

Junior — Middle
192

```python from collections import Counter def min_s(a: str, s: str) -> str: need = set(a) window = Counter() res = "" c = 0 left = 0 best_len = float('inf') for right, char in enumerate(s): if char in need and \ window[char] += 1 if window[char]: c += 1 while c == len(need): if right - left + 1< best_len: res = s[left:right + 1] best_len = right - left + 1 if s[left] in need: window[s[left]] -= 1 if window[s[left]] == 0: c -= 1 left += 1 return res ``` The task is to implement a function `min_s(a: str, s: str) -> str` that finds the minimum substring in `s` which contains all characters from string `a`.

192

Is [name] located in a specific location?

Senior
192

Can thread switching be controlled in Python?

Junior — Middle
192

[name] asked: Is it correct that nonlocal allows an inner function to access a variable from an outer function?

Senior
192

Tell me freely, what have you been doing, and what interesting things from your experience?

Senior
192

How is state management within a functional component implemented using the useState hook?

Junior — Middle
192
/556