A July 2025 Sunrise candidate account describes a Chicago onsite covering C++ fundamentals, memory access and small algorithm problems. Prepare to walk through the machine-level cost of code and separate language rules from common implementation behavior.
What to prepare for Sunrise
This guide follows the Sunrise label and role in the reported experience. Use the examples to prepare for follow-ups without assuming the same format for a current opening. July 2025 Sunrise candidate account
Compare two memory traversal contracts
Two C++ loops update a large contiguous vector of integers. One touches every element, and the other touches one in every eight. Explain why the second loop may not run eight times faster and why the programs do not have the same effect. Related PracHub practice
For a typical 64-byte cache line and four-byte integers, a line contains 16 integers. The step-eight loop can still touch nearly every line, despite processing fewer elements. Consider compiler vectorization, write allocation, working-set size and memory bandwidth. Ensure benchmark inputs are initialized and results are consumed, then compare bytes transferred and work completed rather than assuming loop length predicts time.
Explain a concurrency follow-up
A wait group uses a condition variable to block until a buffer becomes nonempty. The waiter must check the predicate under the lock and repeat after notification. Prepare a producer-consumer trace and explain when atomics alone do not supply the combined queue and waiting contract.
Bring one measured systems project
Show the hardware, compiler flags, work size and a metric other than elapsed time. Explain how the measurement changed one design decision.