Sobes.tech

How to deal with table bloat in PostgreSQL?

135

What is the difference between threading and asyncio?

134

How is an instance of a class initialized in Python and what is the purpose of __new__?

131

Tell us what you do at your current company and what tasks are within your area of responsibility.

131

How to synchronize or securely transfer data between multiple threads or coroutines?

131

Provide an example of the interface segregation principle in the Python standard library.

130

Approximately how much time passed between the appearance of the bug and its fix?

128

Given an integer array height of length n, with n vertical lines at points (i, 0) and (i, height[i]), find two lines that, together with the x-axis, form a container that holds the maximum amount of water. Return the maximum volume of water such a container can hold. Note that the container cannot be tilted.

128

Why are access level agreements private, protected, and public necessary in Python?

128

What are stable and unstable components?

127

What data structure would you use if you need to efficiently add and remove elements from the beginning and end?

126

What do you prefer: asynchrony or multithreading? What's the difference?

125

What to do if an SQL query is already optimized but still remains heavy?

123

What are the differences between TCP and UDP, and at what level do they operate?

123

Write a decorator rate_limit(max_calls, period) that limits the number of function calls with a sliding window over time: no more than max_calls calls in the last period seconds. If the limit is exceeded, the call should not be executed. Consider that the function can be called from multiple threads. Example: @rate_limit(max_calls=5, period=60) the sixth call within a minute should be rejected.

123

Do you use type annotations in your work?

121
/4