PracHub
QuestionsPremiumLearningGuidesCheatsheetNEWCareers
|Home/Coding & Algorithms/Squarepoint Capital

Compute drawdown, profit, and coin change

Last updated: Mar 29, 2026

Quick Overview

This question evaluates a candidate's ability to compute financial time-series metrics and apply algorithmic techniques such as array processing and optimization/dynamic programming to identify maximum drawdown and its indices.

  • Medium
  • Squarepoint Capital
  • Coding & Algorithms
  • Data Scientist

Compute drawdown, profit, and coin change

Company: Squarepoint Capital

Role: Data Scientist

Category: Coding & Algorithms

Difficulty: Medium

Interview Round: Technical Screen

##### Question What is the maximum drawdown of a cumulative PnL (profit and loss) series, and when did it occur? Implement a function mdd(pnl) that returns the maximum drawdown (negative value) and its start and end indices. LeetCode 121. Best Time to Buy and Sell Stock LeetCode 322. Coin Change https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/ https://leetcode.com/problems/coin-change/description/

Quick Answer: This question evaluates a candidate's ability to compute financial time-series metrics and apply algorithmic techniques such as array processing and optimization/dynamic programming to identify maximum drawdown and its indices.

Related Interview Questions

  • Implement drawdown, single-trade profit, coin change - Squarepoint Capital (Medium)
Squarepoint Capital logo
Squarepoint Capital
Aug 4, 2025, 10:55 AM
Data Scientist
Technical Screen
Coding & Algorithms
4
0
Question

What is the maximum drawdown of a cumulative PnL (profit and loss) series, and when did it occur? Implement a function mdd(pnl) that returns the maximum drawdown (negative value) and its start and end indices. LeetCode 121. Best Time to Buy and Sell Stock LeetCode 322. Coin Change

https://leetcode.com/problems/best-time-to-buy-and-sell-stock/description/ https://leetcode.com/problems/coin-change/description/

Comments (0)

Sign in to leave a comment

Loading comments...

Browse More Questions

More Coding & Algorithms•More Squarepoint Capital•More Data Scientist•Squarepoint Capital Data Scientist•Squarepoint Capital Coding & Algorithms•Data Scientist Coding & Algorithms
PracHub

Master your tech interviews with 7,500+ real questions from top companies.

Product

  • Questions
  • Learning Tracks
  • Interview Guides
  • Resources
  • Premium
  • Careers
  • For Universities
  • Student Access

Browse

  • By Company
  • By Role
  • By Category
  • Topic Hubs
  • SQL Questions
  • Compare Platforms
  • Discord Community

Support

  • support@prachub.com
  • (916) 541-4762

Legal

  • Privacy Policy
  • Terms of Service
  • About Us

© 2026 PracHub. All rights reserved.