Citadel / Citadel Securities logoCitadel / Citadel Securities
Coding·60 minMembers

Refactor Obfuscated C++ Code (Hidden Best-Time-To-Buy-Sell)

Members only

Citadel OA round: a 30+ line C++ function `root_node(std::vector<int> output)` packed with red-herring variables, `std::pow`, `std::distance`, bit-shift tricks, and constexpr noise. The task is to rea...

SWE
oa
code-reading
refactoring
array
easy
Frequency
Single report
Last asked
2026-02-06
Stage
oa

Log in to continue reading the full content