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: email@example.com 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.)