Перейти к основному содержанию
Zoro
Вопросы
Таймер
Резервное копирование
Главная
/
Вопросы
/
🦀 Rust
🦀
Rust — вопросы для собеседования
295+ вопросов для подготовки к собеседованию по Rust
111 Junior
97 Middle
87 Senior
1
What is Rust and what is it used for?
junior
2
What is ownership in Rust?
junior
3
What is the difference between ownership, borrowing, and references in Rust?
middle
4
What is the difference between String and &str in Rust?
junior
5
What is the difference between Vec and Array in Rust?
junior
6
What is the difference between struct and enum in Rust?
junior
7
What is the difference between match and if let in Rust?
junior
8
What is the difference between Option and Result in Rust?
junior
9
What is the difference between clone() and copy() in Rust?
junior
10
What is the difference between mut and const in Rust?
junior
11
What is the difference between let and const in Rust?
junior
12
What is the difference between String and &str?
junior
13
What is the difference between Vec and array?
junior
14
What is the difference between struct and enum?
junior
15
What is the difference between match and if let?
junior
16
What is the difference between Option and Result?
junior
17
What is the difference between clone() and copy?
junior
18
What is the difference between mut and const?
junior
19
What is the difference between let and const?
junior
20
What is the difference between String and &str?
junior
21
What is the difference between Vec and array?
junior
22
What is the difference between struct and enum?
junior
23
What is the difference between match and if let?
junior
24
What is the difference between Option and Result?
junior
25
What is the difference between clone() and copy?
junior
26
What is the difference between mut and const?
junior
27
What is the difference between let and const?
junior
28
What is the difference between String and &str?
junior
29
What is the difference between Vec and array?
junior
30
What is the difference between struct and enum?
junior
31
What is the difference between match and if let?
junior
32
What is the difference between Option and Result?
junior
33
What is the difference between clone() and copy?
junior
34
What is the difference between mut and const?
junior
35
What is the difference between let and const?
junior
36
What is the difference between String and &str?
junior
37
What is the difference between Vec and array?
junior
38
What is the difference between struct and enum?
junior
39
What is the difference between match and if let?
junior
40
What is the difference between Option and Result?
junior
41
What is the difference between clone() and copy?
junior
42
What is the difference between mut and const?
junior
43
What is the difference between let and const?
junior
44
What is the difference between String and &str?
junior
45
What is the difference between Vec and array?
junior
46
What is the difference between struct and enum?
junior
47
What is the difference between match and if let?
junior
48
What is the difference between Option and Result?
junior
49
What is the difference between clone() and copy?
junior
50
What is the difference between mut and const?
junior
51
What is the difference between Box, Rc, and Arc in Rust?
middle
52
What is the difference between Vec and Vec<T> in Rust?
junior
53
What is the difference between &mut self and &self in Rust?
junior
54
What is the difference between fn and Fn in Rust?
middle
55
What is the difference between Box and Rc in Rust?
junior
56
What is the difference between Rc and Arc?
junior
57
What is the difference between &mut self and &self?
junior
58
What is the difference between fn and Fn?
junior
59
What is the difference between Box and Rc?
junior
60
What is the difference between Rc and Arc?
junior
61
What is the difference between &mut self and &self?
junior
62
What is the difference between fn and Fn?
junior
63
What is the difference between Box and Rc?
junior
64
What is the difference between Rc and Arc?
junior
65
What is the difference between &mut self and &self?
junior
66
What is the difference between fn and Fn?
junior
67
What is the difference between Box and Rc?
junior
68
What is the difference between Rc and Arc?
junior
69
What is the difference between &mut self and &self?
junior
70
What is the difference between fn and Fn?
junior
71
What is the difference between Box and Rc?
junior
72
What is the difference between Rc and Arc?
junior
73
What is the difference between &mut self and &self?
junior
74
What is the difference between fn and Fn?
junior
75
What is the difference between Box and Rc?
junior
76
What is the difference between Rc and Arc?
junior
77
What is the difference between &mut self and &self?
junior
78
What is the difference between fn and Fn?
junior
79
What is the difference between Box and Rc?
junior
80
What is the difference between Rc and Arc?
junior
81
What is the difference between &mut self and &self?
junior
82
What is the difference between fn and Fn?
junior
83
What is the difference between Box and Rc?
junior
84
What is the difference between Rc and Arc?
junior
85
What is the difference between &mut self and &self?
junior
86
What is the difference between fn and Fn?
junior
87
What is the difference between Box and Rc?
junior
88
What is the difference between Rc and Arc?
junior
89
What is the difference between &mut self and &self?
junior
90
What is the difference between fn and Fn?
junior
91
What is the difference between Box and Rc?
junior
92
What is the difference between Rc and Arc?
junior
93
What is the difference between &mut self and &self?
junior
94
What is the difference between fn and Fn?
junior
95
What is the difference between Box and Rc?
junior
96
What is the difference between Rc and Arc?
junior
97
What is the difference between &mut self and &self?
junior
98
What is the difference between fn and Fn?
junior
99
What is the difference between Box and Rc?
junior
100
What is the difference between Rc and Arc?
junior
101
What are lifetimes in Rust and why are they needed?
middle
102
What is lifetime elision in Rust?
middle
103
What is the difference between `\`static\` and owned types?
middle
104
What are trait objects in Rust?
middle
105
What is the difference between static and dynamic dispatch?
middle
106
What is the difference between Send and Sync traits?
senior
107
What is the difference between Mutex and RwLock?
senior
108
What is async/await in Rust?
senior
109
What is the difference between tokio::spawn and tokio::task::spawn_blocking?
senior
110
What are declarative macros in Rust?
middle
111
What are procedural macros in Rust?
senior
112
What is unsafe Rust and when is it used?
senior
113
What is the difference between panic! and Result?
middle
114
What is the ? operator in Rust?
middle
115
What is WebAssembly in Rust?
senior
116
What is the difference between Vec and BTreeMap for caching?
middle
117
What is the difference between Rc and Weak references?
middle
118
What is the difference between RefCell and Cell?
middle
119
What is the difference between Pin and Unpin?
senior
120
What is the difference between std::sync and tokio::sync?
senior
121
What is the difference between mpsc and broadcast channels?
senior
122
What is the difference between oneshot and oneshot::channel?
senior
123
What is the difference between Mutex and Atomic types?
senior
124
What is the difference between Future and Stream?
senior
125
What is the difference between select! and join!?
senior
126
What is the difference between async fn and fn returning Future?
senior
127
What is the difference between std::thread and tokio::spawn?
senior
128
What is the difference between Ref and RefMut?
middle
129
What is the difference between HashMap and BTreeMap?
middle
130
What is the difference between Into and From traits?
middle
131
What is the difference between AsRef and Borrow?
middle
132
What is the difference between Deref and DerefMut?
middle
133
What is the difference between Drop and RAII?
middle
134
What is the difference between Cow and Arc?
middle
135
What is the difference between Box and Rc?
middle
136
What is the difference between Mutex and RwLock?
middle
137
What is the difference between Condvar and notify_one?
senior
138
What is the difference between Once and lazy_static?
middle
139
What is the difference between Send and Sync?
senior
140
What is the difference between AtomicOrdering variants?
senior
141
What is the difference between error::Error and anyhow?
senior
142
What is the difference between thiserror and anyhow?
senior
143
What is the difference between map_err and and_then?
middle
144
What is the difference between unwrap_or and unwrap_or_else?
middle
145
What is the difference between collect and into_iter?
middle
146
What is the difference between iter and iter_mut?
middle
147
What is the difference between map and flat_map?
middle
148
What is the difference between filter and take_while?
middle
149
What is the difference between skip and take?
middle
150
What is the difference between chain and zip?
middle
151
What is the difference between enumerate and zip?
middle
152
What is the difference between Peekable and FusedIterator?
middle
153
What is the difference between IntoIterator and Iterator?
middle
154
What is the difference between size_hint and ExactSizeIterator?
middle
155
What is the difference between split_at and split_at_mut?
middle
156
What is the difference between rotate_left and rotate_right?
middle
157
What is the difference between windows and chunks?
middle
158
What is the difference between sort and sort_by?
middle
159
What is the difference between contains and position?
middle
160
What is the difference between any and all?
middle
161
What is the difference between find and find_map?
middle
162
What is the difference between fold and reduce?
middle
163
What is the difference between take and drain?
middle
164
What is the difference between truncate and clear?
middle
165
What is the difference between retain and remove?
middle
166
What is the difference between swap and exchange?
middle
167
What is the difference between get and get_mut?
middle
168
What is the difference between slice and as_slice?
middle
169
What is the difference between splice and insert?
middle
170
What is the difference between swap_remove and remove?
middle
171
What is the difference between len and capacity?
middle
172
What is the difference between push and extend?
middle
173
What is the difference between split_off and truncate?
middle
174
What is the difference between shrink_to_fit and reserve?
middle
175
What is the difference between as_ptr and as_mut_ptr?
middle
176
What is the difference between ManuallyDrop and mem::forget?
senior
177
What is the difference between MaybeUninit and Option?
senior
178
What is the difference between raw pointers and references?
senior
179
What is the difference between transmute and cast?
senior
180
What is the difference between Cell and RefCell?
middle
181
What is the difference between Fn, FnMut, and FnOnce?
middle
182
What is the difference between impl Fn and dyn Fn?
middle
183
What is the difference between async fn and fn returning Pin<Box<dyn Future>>?
senior
184
What is the difference between tokio::sync::mpsc and std::sync::mpsc?
senior
185
What is the difference between tokio::select! and futures::select!?
senior
186
What is the difference between tokio::spawn and spawn_local?
senior
187
What is the difference between tokio::time::sleep and std::thread::sleep?
senior
188
What is the difference between Arc<Mutex<T>> and Arc<RwLock<T>>?
senior
189
What is the difference between channel::bounded and channel::unbounded?
senior
190
What is the difference between channel::Sender::send and try_send?
senior
191
What is the difference between broadcast::Sender::send and subscribe?
senior
192
What is the difference between watch::Sender::send and watch::Receiver::borrow?
senior
193
What is the difference between notify and notify_waiters?
senior
194
What is the difference between Mutex::lock and Mutex::try_lock?
senior
195
What is the difference between OnceLock and OnceCell?
senior
196
What is the difference between std::io and tokio::io?
senior
197
What is the difference between BufReader and tokio::io::BufReader?
senior
198
What is the difference between File::open and tokio::fs::File::open?
senior
199
What is the difference between std::net and tokio::net?
senior
200
What is the difference between TcpStream and tokio::net::TcpStream?
senior
201
What is the difference between UdpSocket and tokio::net::UdpSocket?
senior
202
What is the difference between process::Command and tokio::process::Command?
senior
203
What is the difference between sync::Mutex and tokio::sync::Mutex?
senior
204
What is the difference between sync::RwLock and tokio::sync::RwLock?
senior
205
What is the difference between sync::Semaphore and tokio::sync::Semaphore?
senior
206
What is the difference between sync::Barrier and tokio::sync::Barrier?
senior
207
What is the difference between thread::spawn and tokio::spawn?
senior
208
What is the difference between sync::mpsc and tokio::sync::mpsc?
senior
209
What is the difference between sync::oneshot and tokio::sync::oneshot?
senior
210
What is the difference between sync::Condvar and tokio::sync::Notify?
senior
211
What is the difference between sync::Arc and tokio::sync::Arc?
middle
212
What is the difference between sync::Weak and tokio::sync::Weak?
middle
213
What is the difference between std::time and tokio::time?
senior
214
What is the difference between std::future and tokio::time::sleep?
senior
215
What is the difference between Stream and Sink?
senior
216
What is the difference between poll and wake?
senior
217
What is the difference between Poll::Ready and Poll::Pending?
senior
218
What is the difference between Waker and RawWaker?
senior
219
What is the difference between Future and Generator?
senior
220
What is the difference between tokio and async-std?
senior
221
How do you implement a thread-safe lazy initialization in Rust?
middle
222
What is the difference between Rc<T> and Arc<T>?
middle
223
How do you implement a custom error type in Rust?
middle
224
What is the difference between ? and .unwrap()?
junior
225
How do you implement iterator patterns in Rust?
middle
226
What is the difference between String and &str?
junior
227
How do you handle command line arguments in Rust?
junior
228
What is the difference between enum and struct?
junior
229
How do you implement traits in Rust?
middle
230
What is the difference between &T and &mut T?
junior
231
How do you work with files in Rust?
junior
232
What is the difference between Vec<T> and [T]?
junior
233
How do you implement display formatting in Rust?
junior
234
What is the difference between match and if let?
junior
235
How do you implement error handling with Result?
junior
236
What is the difference between Option<T> and Result<T, E>?
junior
237
How do you work withHashMap in Rust?
junior
238
What is the difference between BTreeMap and HashMap?
middle
239
How do you implement a generic function in Rust?
middle
240
What is the difference between Into and From?
middle
241
How do you implement Deref and DerefMut?
senior
242
What is the difference between static and const?
middle
243
How do you work with threads in Rust?
middle
244
What is the difference between Mutex<T> and RwLock<T>?
middle
245
How do you implement async functions?
middle
246
What is the difference between Send and Sync?
senior
247
How do you work with unsafe Rust?
senior
248
What is the difference between Box<T> and Rc<T>?
middle
249
How do you implement Clone and Copy?
middle
250
What is the difference between trait objects and generics?
senior
251
How do you implement the Drop trait?
middle
252
What is the difference between Cow<str> and String?
senior
253
How do you implement FromIterator?
middle
254
What is the difference between async and sync code?
middle
255
How do you work with closures in Rust?
middle
256
What is the difference between Fn, FnMut, and FnOnce?
middle
257
How do you implement operator overloading?
senior
258
What is the difference between impl Trait and dyn Trait?
senior
259
How do you work with lifetimes?
senior
260
What is the difference between String and Path?
middle
261
How do you work with environment variables?
junior
262
What is the difference between thread::spawn and task::spawn?
middle
263
How do you implement the Display trait?
middle
264
What is the difference between Arc<Mutex<T>> and Arc<AtomicX>?
senior
265
How do you work with JSON in Rust?
middle
266
What is the difference between std::sync and tokio::sync?
senior
267
How do you implement a custom allocator?
senior
268
What is the difference between .await and .block_on()?
middle
269
How do you work with HTTP requests in Rust?
middle
270
What is the difference between trait bounds and where clauses?
middle
271
How do you implement iterator combinators?
middle
272
What is the difference between Cell and RefCell?
senior
273
How do you work with SQLite in Rust?
middle
274
What is the difference between static dispatch and dynamic dispatch?
senior
275
How do you implement a state machine?
middle
276
What is the difference between async fn and fn returning Future?
senior
277
How do you work with threads and channels?
middle
278
What is the difference between Fn traits and trait objects?
senior
279
How do you implement thread-safe singletons?
senior
280
What is the difference between async-std and smol?
senior
281
How do you work with closures and ownership?
middle
282
What is the difference between RefCell and Mutex?
senior
283
How do you implement a builder pattern?
middle
284
What is the difference between Send and !Send?
senior
285
How do you work with file I/O?
junior
286
What is the difference between RwLock and Mutex?
middle
287
How do you implement a newtype pattern?
middle
288
What is the difference between async channels and oneshot?
senior
289
How do you work with async streams?
senior
290
What is the difference between trait aliases and type aliases?
senior
291
How do you implement error recovery?
middle
292
What is the difference between tokio::spawn and rayon::spawn?
senior
293
How do you implement a service trait?
senior
294
What is the difference between Box<dyn Error> and anyhow::Error?
senior
295
How do you implement a plugin system?
senior
Назад ко всем категориям