Sobes.tech

What are the disadvantages of asynchronous code?

Middle+
Лучи
23

Apart from government services, what other integrations have you implemented?

Middle+
Бета-Тест
23

Why might a server respond to ping but be unavailable over TCP/UDP, for example, via HTTP or FTP?

Middle+
АВ Софт
23

Do you have any questions about the vacancy and conditions?

Middle+
Betting Software
23

Is the metaclass built into Python?

Middle+
Лучи
23

What is SOLID? Tell me about the principles.

Middle
ООО ЦЕНТР ХК
23

What are the results of expressions with == and is for integers, including small numbers and numbers outside the cache?

Middle+
Группа «Самолет»
23

Have you ever optimized SQL queries or analyzed performance? What tools did you use? What does EXPLAIN show?

Middle+
Группа «Самолет»
23

If you have seen slow queries, how did you analyze the problem and what solutions did you implement? Is there a real case?

Senior
amoCRMamoCRM
23

What are the advantages of microservices architecture? Has it always been possible to make services completely independent?

Middle
СБЕРСБЕР
23

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

Senior
АВ Софт
23

What is the algorithmic complexity of the expression 999999 in range(1,99999999)?

Middle+
Лучи
23

Tell me about authentication. How does a JWT token work?

Middle+
Знание
23

"""Write code that extracts links from raw text and sorts them according to certain rules. The list of links returned should not contain duplicates. Sorting rules are as follows: - Priority 1: The first detected links, up to self.first_extracted_links - Priority 2: Links to cloud drives and documents (Yandex Disk, etc.) - Priority 3: Links to files (ending with extensions like .exe, .pdf, .rar, etc.) - Priority 4: Remaining links sorted from longer to shorter strings Also, consider the limit on the number of links and implement a context manager. Can be run, for example, at [link] Total: - 30 minutes are given for execution - Write functions apply, process, and functions for the context manager - All tests must pass - Tests cannot be modified - You can use imports - After writing, you can check by running locally, and fix if something is wrong on this page Regex for link detection: (?:https?|ftp):\/\/(?:[a-zA-Z0-9-]+\.)*[a-zA-Z0-9-]+\.[a-zA-Z]{2,}(?::\d+)?(?:\/[^\s()]*)? """ class LinkExtractor: DEFAULT_CLOUDS = frozenset(( "drive.google.com", "mediafire.com", "yadi.sk", "disk.yandex.ru", "cloud.mail.ru", "mega.nz" )) # You can extend this method or rewrite it def __init__(self, max_links: int = 7, first_extracted_links: int = 2, clouds = None): # Maximum number of links to return in the array self.max_links = max_links # Number of links extracted for the first condition self.first_extracted_links = first_extracted_links # List of domains considered as clouds for the second condition self.clouds = clouds or self.DEFAULT_CLOUDS self._results = [] # Write this method, adds a part of text to analyze later def apply(self, text) -> "LinkExtractor": ... return self"""}]}]}

Middle+
АВ Софт
23

Do you have favorite conferences, speakers, or YouTube channels that you follow?

Middle+
Исходный код
23

Tell me about the team and how the processes were conducted.

Middle+
ARX
23

How do cookies work at the HTTP level? How can they be set?

Senior
СовкомбанкСовкомбанк
23

What is your attitude towards mutual code review in a small team?

Middle
aic
23

[name] asked: Imagine you have two offers — from our company and another. What criteria will you use to choose, and what might sway you towards the other company?

Senior
Лучи
23

[x for x in y] versus (x for x in y)

Middle
Лучи
23
/532