InterviewDB
Question
·
USA
Arbitrage System: Detect Arbitrage Opportunities in a Currency Exchange Graph
Onsite
Question Details
Problem Given a matrix of exchange rates between n currencies, detect whether an arbitrage opportunity exists — i.e., a cycle of exchanges starting and ending at the same currency that results in a profit. Example Follow-ups What graph algorithm detects this? Why does taking log of rates convert this to shortest-path? What is the time complexity of your approach for n currencies? In practice, bid/ask spreads and transaction fees eat into arbitrage. How do you model them? How would you handle rat…
Full Details
🔒
Unlock all Jane Street questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a reported interview question from a jane street interview during the onsite round.
It covers the following topics: Coding, Graph, Onsite, Matrix .
More Jane Street Interview Questions
1p3a
jane street software engineer tech phone screen interview experience
1p3a
Jane Street ML Performance Engineer Interview Experience
InterviewDB
Arithmetic Encoding: Implement Arithmetic Coding for Lossless Data Compression
InterviewDB
Merge Diff: Implement a Three-Way Merge Algorithm for Text Files
1p3a
Jane Street SRE Technical Phone Screen Featuring Rate Limiting Algorithm