Free practice library
Interview practice
Solve complete questions with progressive hints, worked solutions and Python implementations. Each question explains its assumptions and source match. Original interpretations are labelled explicitly.
752
Ready to practise
174
Not yet playable
926
Catalogue titles
Public standard problems and original exercises; hidden Trading Interview questions have not been verified.
174 titles have been investigated but remain unresolved. Their missing details are recorded without adding substitute exercises. Every playable question has a guided animated answer; selected questions also have custom diagrams.
Practise Learnr’s own questions →Follow a role-specific curriculum →752 matching entries · page 1 of 16
Programming · Hard
Dijkstra's Algorithm #1
Supported standard problem · Match confidence: high
About this question’s source match
The title and Programming / Graphs classification fit the linked public problem. This entry uses an independently worded practice statement and original implementation. This public catalogue example was read directly. The private numbered sequel is not inferred from it.
Implement solve(graph,start,end), returning a minimum-weight directed path as a list of node labels, or None if unreachable. graph maps each string label to a dictionary of outgoing neighbor:positive_integer_weight pairs. If start=end, return [start]. Any shortest path is acceptable.
Assumptions and constraints
- Every endpoint is a key in graph; start and end exist.
- Weights are positive integers.
- <= 100000 vertices; <= 500000 edges
Examples
graph={"s":{"a":2,"t":8},"a":{"t":3},"t":{}}, start="s", end="t"
→ [
"s",
"a",
"t"
]The path through a costs 5 rather than 8.
Company preparation relevance
These links connect this exercise to companies’ public examples or stated interview topics. They do not establish that a company asked this exact Learnr question.
Optiver
Official topic guidance
Topic overlap: shortest paths “Dijkstra's Algorithm #1” and streaming medians “Streaming Median” offer concrete time/space complexity and design-tradeoff practice matching the guide’s core-algorithm and performance preparation topics.
Optiver interview tips for Software Engineers ↗Evidence scope and uncertainty
Specific algorithms selected by Learnr; the official page does not say these named algorithms or titles are asked.
These are Learnr-authored exercises selected for topic overlap. The company does not name these catalogue titles or verify that these exact questions were asked.
Citadel
Official topic guidance
Topic overlap: pair searching “All Pairs”, graph shortest paths “Dijkstra's Algorithm #1”, linked-list cycles “Linked List Cycle” and heaps “Priority Queue Using Heaps” provide coding/data-structure/algorithm practice matching the stated campus research interview focus.
Our Campus Quantitative Research Interview Process ↗Evidence scope and uncertainty
Official guide dated 9 November 2024; explicitly describes Citadel and Citadel Securities together. Role/date specific; no present universal timing asserted.
These are Learnr-authored exercises selected for topic overlap. The company does not name these catalogue titles or verify that these exact questions were asked.
Citadel Securities
Official topic guidance
Topic overlap: pair search “All Pairs”, shortest paths “Dijkstra's Algorithm #1”, linked lists “Linked List Cycle”, heaps “Priority Queue Using Heaps” and streaming median “Streaming Median” exercise programming, data structures and algorithms. The official guide explicitly covers both Citadel and Citadel Securities.
Our Campus Quantitative Research Interview Process ↗Evidence scope and uncertainty
Shared campus quantitative research guide dated 9 November 2024. This does not transfer every Citadel job requirement to Citadel Securities or establish an engineering-specific process.
These are Learnr-authored exercises selected for topic overlap. The company does not name these catalogue titles or verify that these exact questions were asked.
Hudson River Trading
Official topic guidance
Topic overlap: graph state handling “Dijkstra's Algorithm #1” and heap balancing “Streaming Median” support code design, invariants, complexity and debugging discussions. These are selected fundamentals exercises, not officially named HRT questions.
Engineering and Interviewing at HRT — Joe Smith ↗Evidence scope and uncertainty
Engineering coding/debugging/design preparation. Does not claim coverage of hardware, operating systems, networking or low-level C++ knowledge, and does not describe Algo/quantitative research interviews.
These are Learnr-authored exercises selected for topic overlap. The company does not name these catalogue titles or verify that these exact questions were asked.
References
Read the supporting material without leaving your question.
www.tradinginterview.com
Dijkstra’s Algorithm #1 — public Trading Interview examplePublic problem confirms dictionary adjacency and start-to-end path; original wording, example and heap implementation supplied here.
- Medium
1 to 7
Brain Teasers · Out of the Box
Researched · playable - Medium
100 Light Bulbs
Brain Teasers · Symmetry
Researched · playable - Hard
100-Sided Die
Probability and Statistics · Expected Value
Researched · playable - Medium
230 Heads
Probability and Statistics · General
Researched · playable - Medium
24/7 And Fragmented
Digital Assets - Crypto · Digital Assets Knowledge
Researched · playable - Easy
3 Unique Marbles
Probability and Statistics · Combinatorial Analysis
Researched · playable - Easy
3-Factor and 5-Factor Models
Asset Pricing · Factor Models
Researched · playable - Medium
5 Descending Cards
Probability and Statistics · Expected Value
Researched · playable - Easy
51% Attack
Digital Assets - Crypto · Blockchain Technology Fundamentals
Researched · playable - Medium
90 Cents Please
Probability and Statistics · Combinatorial Analysis
Researched · playable - Easy
About the Firm
Behavioral Questions · General
Researched · playable - Easy
Aces for All
Probability and Statistics · Combinatorial Analysis
Researched · playable - Medium
Active, Passive and Beta ETFs
Derivatives Theory · ETF Theory
Researched · playable - Hard
AdaBoost by Hand
Machine Learning · Ensemble Methods
Researched · playable - Easy
Advantages ETFs
Derivatives Theory · ETF Theory
Researched · playable - Easy
Air Hockey Deadlock
Probability and Statistics · Combinatorial Analysis
Researched · playable - Easy
Airdrop
Digital Assets - Crypto · Digital Assets Knowledge
Researched · playable - Easy
Airplane Food
Probability and Statistics · Combinatorial Analysis
Researched · playable - Easy
Airport Cafe
Probability and Statistics · Conditional Probability
Researched · playable - Easy
All Bulbs Lit
Probability and Statistics · Conditional Probability
Researched · playable - Easy
All Faces
Probability and Statistics · General
Researched · playable - Easy
All Pairs
Programming · Array and List Processing
Researched · playableJane Street · Topic guidanceCitadel · Topic guidanceCitadel Securities · Topic guidance - Medium
All Permutations
Programming · Array and List Processing
Researched · playable - Easy
All Vowels
Programming · String Manipulation
Researched · playable - Easy
All-Boys City
Probability and Statistics · General
Researched · playable - Easy
Altcoins
Digital Assets - Crypto · Digital Assets Knowledge
Researched · playable - Easy
American vs. European Options
Derivatives Theory · Option Theory
Researched · playable - Medium
AMM Swap Math
Digital Assets - Crypto · Digital Assets Knowledge
Researched · playable - Easy
Analog Clock Angle
Math Questions · General
Researched · playable - Easy
Animal Migrations
Probability and Statistics · Markov Chain Probability
Researched · playable - Easy
Ants on a Stick
Brain Teasers · Out of the Box
Researched · playable - Easy
Any Cake Left
Probability and Statistics · General
Researched · playable - Medium
Applying Singular Value Decomposition (SVD)
Linear Algebra · Use Case
Researched · playable - Medium
Arbitrage In Crypto
Digital Assets - Crypto · Digital Assets Knowledge
Researched · playable - Easy
Archery Rotation
Probability and Statistics · Conditional Probability
Researched · playable - Medium
Are We There Yet
Probability and Statistics · Game Theory
Researched · playable - Hard
Arithmetic Mean
Programming · Array and List Processing
Researched · playable - Easy
ATM at Maturity
Derivatives Theory · Greeks
Researched · playable - Medium
ATM to ITM Call
Derivatives Theory · Greeks
Researched · playable - Medium
ATM to OTM Put
Derivatives Theory · Greeks
Researched · playable - Medium
Atomic Swap
Digital Assets - Crypto · Digital Assets Knowledge
Researched · playable - Medium
Back to Starting Point
Brain Teasers · Logical
Researched · playable - Hard
Backpropagation by Hand
Machine Learning · Neural Networks
Researched · playable - Medium
Bagging: Why Averaging Reduces Variance
Machine Learning · Ensemble Methods
Researched · playable - Easy
Balanced Brackets
Programming · Other
Researched · playableIMC · Topic guidanceOptiver · Topic guidanceHudson River Trading · Topic guidance - Medium
Balancing the Grid
Energy Trading · Energy Sources
Researched · playable - Easy
Bankrupt
Probability and Statistics · Markov Chain Probability
Researched · playable - Medium
Basic (Quadratic) Utility
Asset Pricing · Market Dynamics
Researched · playable - Easy
Basis Point (BP)
Derivatives Theory · ETF Theory
Researched · playable - Medium
Batch, Stochastic and Mini-Batch Gradient Descent
Machine Learning · Optimization
Researched · playable
Catalogue metadata captured 2026-10-12. Metadata source.