Roadmap Start learning
QD01IntermediateQuant DeveloperMedium
Data Structures and Algorithms
Arrays, hash maps, trees, graphs, heaps, sorting, searching and dynamic programming, as tested in coding rounds.
2.3 h of lessons~1.3 h of practice across 6 problems
Prerequisites not done
Lessons0 / 7 lessons
Mastery · target 80%0 / 6 solved
Completing the lessons finishes the module. Mastery also needs 80% of its problems solved.
What you will be able to do
- Pick the data structure that gives the required complexity for each operation
- Use heaps for streaming order statistics and priority scheduling
- Traverse trees and graphs with BFS and DFS and find shortest paths
- Formulate and solve dynamic programmes, then reduce their memory
- State and justify the time and space complexity of a solution
Before you start
Prerequisites: this module uses their material directly.
Lessons
1.Heaps, Hash Maps & Order BooksPriority queues, top-k and streaming medians, and how to design a limit order book with the right complexities.25m2.Dynamic Programming for Probability ProblemsTurning recursive probability and game questions into tables: distributions of sums, runs, and optimal stopping.25m3.Hash Maps and SetsHow hash tables work inside, collisions, load factor and resizing, why O(1) is an average and not a guarantee, and the hash-map patterns behind most screening questions.16m4.Linked Lists, Stacks and QueuesWhen a linked list, stack, queue or deque is the right structure, reversing a list, Floyd's cycle detection with proof, monotonic stacks for next-greater questions, and a time-based rolling maximum.17m5.Trees and Binary Search TreesTraversals, BST search, insert and delete, why balance matters, tries, lowest common ancestors, and which sorted container to put under an order book.18m6.Graphs and Shortest PathsAdjacency lists and matrices, BFS and DFS, topological sort for dependency graphs, Dijkstra with a heap, and Bellman–Ford with −log rates to detect currency arbitrage.19m7.Sorting AlgorithmsMerge sort and inversion counting, quicksort partitions and their expected cost, heapsort, stability in practice, quickselect for quantiles such as VaR, and external sorting.19m
Practice problems (6)
Where this module fits
- Quant Trader: Optional
- Quant Researcher: Recommended
- Quant Developer: Required