Sobes.tech

Which is faster during sequential iteration over identical elements: std::list or std::vector, and why?

Middle+
41

For list, vector, set, and unordered_set, name the complexity of searching for an element by value and deleting a found element, as well as the rules for invalidating iterators.

Middle+
36

What is an atomic operation and what does memory_order specify?

Middle+
26

What tests did you write and how did you use Google Test/Google Mock?

Middle+
24

Tell us about your experience developing in C++: projects, language standards, and relevant tasks.

Middle+
24

Why was multithreading needed in your TCP server?

Middle+
21

What primitive synchronization mechanisms do you know in C++? How does std::lock_guard differ from std::unique_lock, and when might manual unlock be needed?

Middle+
19

How was the emulator device startup and testing organized and automated?

Middle+
19

How did you control the performance of real-time applications and identify bottlenecks?

Middle+
17

What will the program in the image output when constructing and destroying an object C with a base class A, field B, and field X?

Middle+
17

// x86-64 struct S { char ch; std::uint16_t i; std::uint16_t getI() const { return i; }; virtual ~S() {} }; sizeof(S) == ?

Middle+
14

Have you had to optimize the system, find bottlenecks, and profile it?

Middle+
12

Why is the size of an empty structure in C++ usually 1 byte, not 0?

Middle+
6
/2