Optiver interview question

python/powershell coding