InterviewDB Question

Stock Portfolio: Optimize a Portfolio Allocation Under a Risk and Budget Constraint

Question Details

Problem You have a list of stocks, each with an expected_return (float, %), risk_score (int 1-10), and min_investment (int, dollars). You have a total budget B and a maximum allowed portfolio risk max_risk (weighted average of risk scores by investme…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding