Skip to content

Rust code review tasks

Rust tasks: find the bug or predict the output, then get your answer reviewed.

Audit report formation and write verification

Code review · rust · review · error propagation · shared state · resource lifecycle
Medium

The delivery batch preview returns an empty result and confirms items unreliably

Code review · rust · review · iterator laziness · shared state · error propagation · ownership
Hard

Checking note update and receipt saving

Code review · rust · ownership · shared state · resource lifecycle · error propagation · review
Easy

Session publication metrics check

Code review · rust · review · shared-state · mutex · io · error-handling
Medium

Export manifest finalization check

Code review · rust · resource lifecycle · shared state · error propagation · ownership
Hard

Reservation preview validation

Code review · rust · review · mutex · lock-scope · shared-state · resource-lifecycle
Easy

Validation of report package saving

Code review · rust · review · error propagation · ownership · resource lifecycle
Medium

Preview feed build verification

Code review · rust · review · iterator laziness · shared state · error propagation
Hard

Checking profile label synchronization

Code review · rust · review · ownership · shared state · error propagation · resource lifecycle
Easy

Charge request preparation check: the lock is held longer than needed and the read error is lost

Code review · rust · mutex · error-propagation · iterator-laziness · shared-state
Easy

Checking the build of the participants' activity snapshot

Code review · rust · shared state · mutex · concurrency · error propagation · review
Medium

Checking attachment draft finalization

Code review · rust · review · hard · resource lifecycle · mutex · filesystem · shared state
Hard

Member badge rendering check

Code review · rust · review · mutex · lock-scope · error-propagation · shared-state
Easy

Invoice preview check with template cache

Code review · rust · review · error propagation · shared state · resource lifecycle
Medium

Publish preview of invoice lines verification

Code review · rust · review · iterator laziness · error propagation · shared state
Hard

Checking the renaming of a member's public name

Code review · rust · review · ownership · shared state · error propagation
Easy

Checking the delivery of a participant notification batch

Code review · rust · shared state · mutex · error propagation · iterator laziness · resource lifecycle · code review
Medium

Checking draft batch commit

Code review · rust · review · resource lifecycle · error propagation · shared state
Hard

Checking queue task preview generation

Code review · rust · review · mutex · lock-scope · error-propagation · shared-state
Easy

Notification summary build check: error while reading the request is lost, and the state is updated too early

Code review · rust · error-propagation · lock-scope · shared-state · resource-lifecycle
Medium

Build summary check: the read error is hidden while assembling the result and the state changes too early

Code review · rust · iterator-laziness · error-propagation · shared-state · lock-scope · resource-lifecycle
Hard

Build summary assembly check: read errors are lost, and the counter is updated too early

Code review · rust · ownership · error-propagation · iterator-laziness · shared-state · lock-scope
Easy

Batch presence status update verification

Code review · rust · review · shared-state · error-propagation · resource-lifecycle · ownership
Medium

Checking draft bundle commit

Code review · rust · review · resource lifecycle · error propagation · shared state · ownership
Hard

Build check for the summary panel: read errors are lost, and the state is updated too early

Code review · rust · lock-scope · error-propagation · iterator-laziness · shared-state
Easy

What output will the program print with a cache statistics snapshot?

Predict the output · rust · output · lock scope · mutex · shared state
Easy

What output will the program print when processing the error log batch?

Predict the output · rust · output · error propagation · iterator laziness · shared state
Medium

What output will the program print when previewing the manifest chunks?

Predict the output · rust · iterator laziness · ownership · shared state · resource lifecycle
Hard

What output will the program print when issuing a receipt with a note?

Predict the output · rust · ownership · option · string · output
Easy

What output will the program print when the journal buffer is flushed?

Predict the output · rust · shared state · mutex · arc · ownership · output
Medium

What output will the program print when the resource is finalized?

Predict the output · rust · ownership · resource-lifecycle · iterator-laziness · error-propagation
Hard

What output will the program print when reading the counter under a short lock?

Predict the output · rust · mutex · arc · result · ownership · laziness
Easy

What output will the program print during batch configuration loading?

Predict the output · rust · output · error propagation · iterator laziness · resource lifecycle
Medium

What output will the program print when reading and draining the buffer?

Predict the output · rust · iterator laziness · mutex · shared state · output
Hard

What output will the program print when building the header list?

Predict the output · rust · ownership · into_iter · iter · vector · stdout
Easy
Rust interview questions