Sobes.tech

```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

What is the advantage of using polymorphism in object-oriented programming design?

Junior — Middle
192

Is [name] located in a specific location?

Senior
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

How is the uniqueness of elements ensured when using a set data structure?

Junior — Middle
192

What is a token in the context of LLM and embedding?

Middle+
192

What criteria are used to determine the optimal set of technologies for a project?

Junior — Middle
192

What is meant by the procedure of checking user rights for resource access at the physical connection level?

Junior — Middle
192

Do you use any specific method or strategy when approaching work tasks?

Junior — Middle
192

How is information stored in a relational database?.

Junior — Middle
192

Have you previously had guidance or mechanisms for approving your development decisions?

Junior — Middle
192

Are you ready to work fully in the office on Shabolovka?

192

What is the difference between a facade pattern and an adapter pattern in the context of software design?

Junior — Middle
192

How to determine the amount of free RAM on a Linux system?

Junior — Middle
192

What are the most frequently used commands for working with Linux systems?

Junior — Middle
192

Tell us what you did at your previous jobs. Let's start with the company [company].

192
/556