Fin Maverick
Foundations VocabularyAccounting & ReportingEconomics & MacroQuant Methods & ProgrammingBusiness & Company AnalysisCorporate Finance & ValuationBehavioural Finance
Banking & Market InfrastructureFixed Income & RatesDerivatives & Structured ProductsPublic EquitiesTransactions & DealsPortfolio ConstructionFunds & AMCs
Private Markets & AlternativesRisk, Treasury & ControlAI & Digital FinanceStochastic Calculus & PricingWealth & Personal FinanceIndian Markets & RegulationProfessional Practice
CalculatorComparison
Frameworks
Explore Bootcamps
Equity ResearchPortfolio ManagementMutual Fund MasteryInvestment Banking Analyst
Private Equity AnalystQuant & Hedge Fund AnalystBreaking Into VCFinancial Analyst Program
Risk Management ProgramPrivate Wealth ManagementDebt Capital MarketsDerivatives Foundation
Explore Free Courses

Equity Research6

Writing an Investment ThesisBuilding a Discounted Cash FlowReading an Annual Report FastReading a Sector Before a CompanySpotting Quality of Earnings Red FlagsBuilding a Revenue Forecast From Drivers

Portfolio Management3

Rebalancing: When, Why and What It CostsStrategic and Tactical Asset AllocationMeasuring Risk in a Portfolio

Mutual Fund Mastery3

Comparing Funds Without Being FooledHow a NAV Is Struck and Which Day You GetReading a Fund Factsheet Properly

Derivatives Unlocked4

Hedging a Real ExposureThe Greeks, PracticallyFutures, the Basis and What Moves ItReading an Option Payoff

AI For Finance2

Retrieval and Grounding for FinanceDocument Extraction in Finance

Breaking Into Quants4

Backtesting a StrategyHypothesis TestingCleaning Financial DataRegression for Finance

Breaking Into VC3

Sizing a MarketReading a Term Sheet as a FounderHow a Venture Round Actually Works

Financial Analyst Program4

Common Size and Trend AnalysisReading a Cash Flow StatementRatio Analysis That Says SomethingBuilding a Working Capital Schedule

Risk Management Program2

Credit Exposure and How It Is ReducedValue at Risk and What It Hides

Investment Banking Analyst3

Precedent Transactions and Why They DifferReading a Term Sheet StructurallyBuilding a Comparable Companies Table

Private Wealth Management3

Tax Aware Portfolio DecisionsBuilding a Client Risk ProfileGoal Based Planning Arithmetic

Debt Capital Markets3

Analysing an Issuer's CreditDuration and What It Does Not Tell YouBond Pricing and Yield Mechanics

Private Equity Analyst2

Fund Waterfalls and CarryThe LBO in Structure

Hedge Funds Analyst2

Short Selling MechanicsLong Short Mechanics
QuarksCourses
Explore Interview Preparation
Investment BankingEquity ResearchVenture CapitalistPrivate EquityHedge Funds
QuantFinancial AnalysisPrivate Wealth ManagementDebt Capital MarketsRisk Management
Derivatives FoundationPortfolio ManagementMutual Fund Mastery
PartnershipsShowdown
Log inSign up
Interview tracksAll
1Investment Banking
Question bankPuzzlesCase studies
2Equity Research
Question bankPuzzlesCase studies
3Venture Capital
Question bankPuzzlesCase studies
4Private Equity
Question bankPuzzlesCase studies
5Hedge Funds
Question bankPuzzlesCase studies
6Quant
Question bankPuzzlesCase studies
7Financial Analysis
Question bankPuzzlesCase studies
8Private Wealth Management
Question bankPuzzlesCase studies
9Debt Capital Markets
Question bankPuzzlesCase studies
10Risk Management
Question bankPuzzlesCase studies
11Derivatives Foundation
Question bankPuzzlesCase studies
12Portfolio Management
Question bankPuzzlesCase studies
13Mutual Fund Mastery
Question bankPuzzlesCase studies

Hedge Funds puzzles, solved step by step

Puzzles
100
Traced to a firm
38
Topics
14
Hard
30
Topic
All topicsBetting and sizing5Conditional probability and Bayes7Continuous probability and distributions7Counting and combinatorics7Estimation and mental maths4Expected value and dice games8Logic and brainteasers10Market making and trading games6Options and payoffs5Portfolio and risk maths8Random walks and Markov chains7Returns, compounding and fees7Statistics and estimation11Valuation, accounting and macro riddles8
Level
AnyWarm upCoreHard
Source
AnyReported at a firmStandard
Showing 1–1 of 1 · filtered from 100Clear filters
  1. 008A stock closes at 100, 96, 104, 99, 110, 105 and 112 on seven days, and short selling is not allowed. What is the maximum profit from one buy and one sell, and from any number of round trips?Market making and trading gamesWarm upMan GroupLondon · 2019

    Try it first

    What is the most you can make with any number of round trips?

    Show the worked solution

    One round trip makes at most 16; unlimited round trips make 26. For one trade, walk the prices once, carrying the lowest price so far and the best sale against it: buy at 96, sell at 112. For many trades, add every day-on-day rise and skip every fall: 8 + 11 + 7 = 26. Without short selling the falls are simply sat out, never profited from.

    How do you find the best single trade without checking every pair?

    Imagine walking down a street of shops that all sell the same phone, planning to buy once and sell once further along. You do not need to compare every pair of shops: carry the cheapest price seen so far in your head, and at each shop ask what selling here would make against it. One pass, keeping the running minimum and the best gap found so far, gives the best single trade. Here the running minimum drops to 96 on day 2 and the best gap appears on day 7: 112 - 96 = 16.

    One trade catches the whole move; many trades catch every rise95100105110+8+11+7100Day 196Day 2104Day 399Day 4110Day 5105Day 6112Day 7dashed: one trade, 96 to 112 = +16One round trip: 112 - 96 =16Every rise: 8 + 11 + 7 =26Falls are sat out: with no short selling they cannot be traded
    The best single trade buys at 96 on day 2 and sells at 112 on day 7 for 16, while trading every rising leg, 96 to 104, 99 to 110 and 105 to 112, collects 8 + 11 + 7 = 26.
    DayPriceMoveLowest so farBest single trade so farSum of rises so far
    110010000
    296-49600
    3104+89688
    499-59688
    5110+11961419
    6105-5961419
    7112+7961626
    One pass through the prices tracks both answers at once: the running minimum gives the best single trade, 16, and the running sum of positive moves gives the many-trade maximum, 26.

    Why is the many-trade answer just the sum of the rises?

    Any rise from a low to a later high is the sum of the daily steps inside it, and some of those steps may be falls. With no short selling and no costs, the most you can make is the total of every positive day-on-day move, 26 here, because trading only the up steps collects everything a longer trade would and skips its falls. In practice that is three round trips: buy 96, sell 104; buy 99, sell 110; buy 105, sell 112.

    What does the interviewer add next?

    Costs. Once each round trip costs something, the sum of rises overstates the profit, because small moves stop being worth trading. With a cost of 6 per round trip, the three separate trades net 2 + 5 + 1 = 8, the best two-trade split nets 9, and the single trade from 96 to 112 nets 10, so the single trade now wins. The general version is a short dynamic programme that tracks the best profit on each day while holding and while flat.

    Where candidates lose it

    For the first part, candidates take the lowest and highest prices without checking the order. Here they happen to line up, 96 before 112, but an interviewer who swaps two prices will catch anyone who never checked that the low comes first.

    For the second, the loss is counting falls as profit, which needs a short sale the question forbids, or stopping at 16 because it is the best single trade. Say the rule plainly: bank every rise, sit out every fall.

    What the interviewer asks next

    • What if each round trip costs 6?
    • What if you may make at most two round trips?
    • How does the answer change if short selling is allowed?

    Asked at Man Group, Alternative Investments, London, 2019 (Wall Street Oasis): Given a series of prices, find the one buy/sell trade pair which gives the maximum profit

Fin Maverick Free CoursesExplore Free Courses
Fin Maverick BootcampsExplore Bootcamps
Fin Maverick

Finance education that ends in a job, not a certificate that gathers dust. Built for young India.

LEARN
CalculatorsFrameworksComparisonsInterview RoadmapsShowdown
RESOURCES
All CoursesFree CoursesBootcampsInternships
COMPANY
AboutJob openingPartnership
LEGAL
Privacy PolicyTerms & ConditionsContent LicenseReturn & Refund Policy
© 2026 FIN MAVERICK / BUILT FOR INDIA.DO FINANCE, DO NOT JUST READ ABOUT IT.