1p3a_oj Question

Refactor and Optimize a Slow Function

Question Details

Problem: Refactor and Optimize a Slow Function Given an integer array output (length n, n >= 1), you need to refactor and speed up a “correct but slow” implementation. The final return valu

Full Details

🔒

Unlock all Citadel questions

Full insider details, leaked discussions, and candidate experiences.

or every company, $100/year →

About This Question

This is a reported interview question from a citadel interview for a swe role during the coding round.

It covers the following topics: Arrays .

Topics