Discover your dream Career
For Recruiters

The quant coding interview problem you need to know for HFT

Have you got an interview lined up with a hedge fund or high frequency trading firm? If so, the chances are you've been looking at problems on hackerrank and leetcode to brush up your knowledge, but which problems should your practise solving most of all?

In a recent webinar from crypto research and trading firm ProfitView, CEO Richard Hickling invited on two employees of high frequency trading firm Portofino Technologies to discuss how to get a job in HFT.

Mike Tsantekidis, a quant developer at Portofino adapted one of his favourite problems from Leetcode into a new coding problem that you can see below:

Do not expect this problem to come up verbatim in any interviews. Tsantekidis said it was just an example: "During a real interview, we would use custom tasks."

This is partially different to how banks do it. One of the most popular leetcode problems at Goldman Sachs interviews is a more broad conceptual idea involving catching rainwater. This problem however is more directly applied to a finance setting.

Stumped on how to solve it? 

This is what the mock interview participant came up with.

If you're looking for a way to challenge yourself further, here's another question from the webinar. Think you can answer it? Let us know in the comments below. 


Click here to create a profile on eFinancialCareers. Comment ANONYMOUSLY on articles and make yourself visible to recruiters hiring for top jobs in technology and finance. 

Have a confidential story, tip, or comment you’d like to share? Contact: in the first instance. 

Bear with us if you leave a comment at the bottom of this article: all our comments are moderated by human beings. Sometimes these humans might be asleep, or away from their desks, so it may take a while for your comment to appear. Eventually it will – unless it’s offensive or libelous (in which case it won’t.)

AUTHORAlex McMurray Editor
  • sn
    snarky recruiter
    2 March 2023

    can you do it in O(n)?

Sign up to our Newsletter!

Get advice to help you manage and drive your career.

Boost your career

Find thousands of job opportunities by signing up to eFinancialCareers today.
Recommended Jobs
Vertus Partners
Quant Analyst - Front Office - London
Vertus Partners
London, United Kingdom
Cobalt Recruitment
Private Equity- Investment Analyst
Cobalt Recruitment
London, United Kingdom
Quantitative Analyst/Researcher
Palm Beach Gardens, United States

Sign up to our Newsletter!

Get advice to help you manage and drive your career.