Question Details
Given an array prices where prices[i] is the price of a given stock on the i-th day, you want to maximize your profit by choosing a day to buy one stock and choosing a different day in the future to s
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 .