150 Most Frequently Asked Questions On Quant Interviews 〈2K 720p〉
Preparing for a quant interview can feel like trying to solve a Rubik’s Cube in a hurricane. To help you navigate the chaos, we’ve distilled the chaos into the 150 most frequently asked questions across top-tier hedge funds and market makers [2, 3].
This collection focuses on the core pillars of quantitative finance: Probability & Statistics:
Brainteasers on expected value, Bayes' Theorem, and Markov Chains [1, 2]. Calculus & Linear Algebra:
Stochastic calculus, Taylor series expansions, and matrix properties [3, 4]. Coding & Algorithms:
Efficient data structures, C++ memory management, and Python optimization [2, 5]. Finance Theory:
Black-Scholes Greeks, risk-neutral pricing, and arbitrage detection [1, 4]. Whether you are targeting Prop Trading Quantitative Research Model Validation
, mastering these 150 patterns will shift your focus from "how do I solve this?" to "how do I optimize this?" [2, 5]. Derivatives Pricing , to see some sample questions?
Part 2: Calculus & Linear Algebra (Questions 21–40)
You cannot avoid calculus. For junior roles, it’s about derivatives and integrals. For PhD-level roles, expect ODEs/PDEs and matrix decompositions.
- What is the derivative of ln(x)? (1/x).
- What is the integral of sec(x) dx? (ln|sec x + tan x| + C).
- What is the gradient of f(x,y) = x^2 + y^2? (2x, 2y).
- What is a Hessian matrix? (Matrix of second-order partial derivatives).
- Explain the Jacobian determinant.
- Solve for x: e^x = 5x.
- What is the Taylor expansion of e^x around 0? (1 + x + x^2/2! + ...).
- What is a positive definite matrix?
- What are eigenvalues and eigenvectors? Why are they important in finance? (PCA, covariance matrix stability).
- What is the rank of a matrix? How do you compute it?
- Calculate the limit of (sin x)/x as x → 0. (1).
- What is the Lagrange multiplier used for? (Constrained optimization).
- What is the pseudo-inverse of a matrix?
- Solve the ODE: dy/dx = y.
- What is the solution to the Black-Scholes PDE?
- What is L’Hôpital’s rule? (Limit of ratio of functions equals limit of ratio of derivatives).
- What is the difference between a vector and a covector?
- What is the trace of a matrix?
- What is a unitary matrix?
- What is the Cholesky decomposition used for? (Simulating correlated random variables).
The Ultimate Guide: 150 Most Frequently Asked Questions on Quant Interviews
Quantitative finance has become one of the most coveted yet challenging fields to break into. Whether you are aiming for a role at a top-tier hedge fund (Citadel, D.E. Shaw), an investment bank (Goldman Sachs, Morgan Stanley), or a proprietary trading firm (Jane Street, Optiver), the quant interview process is notoriously rigorous. It is a multi-layered gauntlet designed to test not just your mathematical memory, but your stochastic intuition, coding fluency, and mental arithmetic under pressure.
To help you prepare, we have compiled the 150 most frequently asked questions from actual quant interviews. These are categorized into eight core domains: Brain Teasers & Mental Math, Calculus & Linear Algebra, Probability Theory, Stochastic Calculus (for advanced roles), Statistics & Machine Learning, Coding & Algorithms, Financial Products & Derivatives, and Behavioral & Market Microstructure.
2. Brain Teasers & Puzzles (20 questions)
| # | Question | Difficulty | Key Insight | |---|----------|------------|--------------| | 36 | How many times a day do clock hands overlap? | ★ | 22 times | | 37 | You have a 3-gallon and 5-gallon jug. How to measure 4 gallons? | ★ | Fill 5, pour to 3, empty 3, pour remaining 2 into 3, fill 5, pour 1 into 3, left 4 | | 38 | 100 prisoners and a light bulb. Find a strategy to know all have been in room. | ★★★ | Designated counter | | 39 | You have 12 balls, one heavier or lighter, balance scale. Minimum weighings? | ★★ | 3 weighings | | 40 | Why are manhole covers round? | ★ | Can’t fall through | | 41 | How many golf balls fit in a Boeing 747? | ★ | Estimate volume & packing fraction (~0.74) | | 42 | You have a 7-minute and 4-minute hourglass. How to measure 9 minutes? | ★★ | Start both, flip 4 when done, etc. | | 43 | Two trains 100 miles apart approach at 50 mph each. A bee flies 75 mph back and forth. Total bee distance? | ★ | 75 miles (bee flies for 1 hour) | | 44 | You have 10 stacks of 10 coins each, one stack all counterfeit (lighter). One weighing on a scale? | ★★ | Take 1 from stack 1, 2 from stack 2, etc. | | 45 | You have a 5x5 grid of lights. Pressing toggles row & col. Can you turn all off? | ★★ | Linear algebra mod 2 | | 46 | Three ants on corners of triangle, move along edges. Probability no collision? | ★★ | 1/4 | | 47 | You have 2 eggs and 100 floors. Find highest safe floor. Minimum drops? | ★★ | 14 | | 48 | A rope burns unevenly in 60 mins. How to measure 45 mins? | ★ | Light both ends of one rope, one end of other | | 49 | How many trailing zeros in 100! ? | ★ | floor(100/5)+floor(100/25)=24 | | 50 | You have 4 liters of water, need 2 liters. You have 3L and 5L jugs. | ★ | Fill 5, pour to 3, leave 2 in 5 | | 51 | Light switches and bulbs in another room. One flip. How to match? | ★ | Turn one on for long, then off, another on, go check | | 52 | You have 8 coins, one lighter, 2 weighings on balance scale? | ★★ | Divide into 3,3,2 | | 53 | One honest and one liar guard, two doors (life/death). One question? | ★ | Ask “What would the other guard say is the safe door?” | | 54 | You have 9 marbles, one heavier, balance scale in 2 weighings? | ★★ | 3 vs 3 first | | 55 | 100 coins, one counterfeit lighter, no scale, just balance? | ★★ | Binary search |
Part 3: Probability Theory (Questions 41–70)
This is the heart of quant interviews. If you fail probability, you fail the interview.
- What is the expected number of coin flips to get two heads in a row? (6).
- You have two envelopes. One contains twice as much money as the other. You pick one. Should you switch? (The paradox – standard answer: no difference).
- What is the probability that a random chord in a circle is longer than the radius? (Bertrand’s paradox).
- You roll a die until you get a 6. What is the expected number of rolls? (6 – geometric distribution).
- What is the probability of getting exactly 3 heads in 5 fair coin flips? (10/32 = 5/16).
- State the Central Limit Theorem.
- What is the difference between correlation and covariance?
- What is the Law of Large Numbers?
- What is the Martingale property?
- You have a bag with 3 red and 3 blue marbles. You draw two without replacement. What is P(both red)? (3/6 * 2/5 = 1/5).
- What is the expected value of a standard normal variable? (0).
- What is the variance of a standard normal? (1).
- What is the moment generating function (MGF) of a normal distribution?
- What is the probability that a Brownian motion ever hits 1, starting from 0? (1 – recurrence).
- Explain the Monte Carlo method.
- What is the difference between weak and strong convergence?
- You have 100 people. What is the probability two share a birthday? (~99.97%).
- What is the expected number of times you must roll a die to see all six faces? (14.7 – coupon collector).
- What is a Poisson process?
- What is the Gamma distribution?
- What is the difference between probability mass function (PMF) and probability density function (PDF)?
- What is a conditional expectation?
- What is the Tower property of expectations?
- What is the Markov property?
- What is the probability that two random numbers between 0 and 1 sum to less than 1? (1/2).
- You play a game where you roll a die and receive that many dollars. How much will you pay to play? ($3.50).
- What is the St. Petersburg paradox?
- What is the probability of drawing a royal flush in poker? (1 in 649,740).
- What is the difference between Bayesian and Frequentist probability?
- What is a conjugate prior? Give an example for a binomial likelihood. (Beta distribution).
Final Verdict
The "150 Most Frequently Asked Questions on Quant Interviews" is not a checklist to be completed the night before your interview. It is a curriculum. A successful quant candidate typically spends 200–400 hours mastering the concepts hidden behind these 150 questions.
If you can confidently answer 80% of these on the spot, you are likely in the top percentile of applicants. Good luck. And remember: the market is stochastic, but your preparation should be deterministic.
Preparing for a quantitative finance interview is a marathon of technical rigor, and Dan Stefanica’s " 150 Most Frequently Asked Questions on Quant Interviews
" has long been the "gold standard" for candidates. Originally authored by professors from Baruch College’s elite MFE program, this guide distills the core knowledge needed to land roles at top-tier firms like Goldman Sachs, Jane Street, and Two Sigma. Essential Prep Topics
The book and current industry trends categorize the "must-know" material into several distinct technical pillars:
Probability & Stochastic Calculus: Expect questions on discrete probability, random walks, martingales, and Brownian motion.
Brainteasers: Riddles designed to test your ingenuity under pressure, such as the "manhole cover" logic or "light switch" puzzles.
Calculus & Differential Equations Mastery: Interviewers frequently test your ability to find critical points, solve first-order linear ODEs, and apply multivariable calculus to financial model optimization.
Finance & Derivatives: Be prepared to explain Black-Scholes limitations, implied volatility, and how to price options, bonds, and swaps.
Programming (C++ & Python): Mastery of data structures, algorithms (LeetCode style), and specific C++ concepts like smart pointers or exception-safe copy constructors is now standard.
Linear Algebra: Focus on covariance and correlation matrices, which are foundational for risk management and machine learning. Strategies for Success
Acing the interview isn't just about getting the right number; it’s about demonstrating a "quantitative toolkit".
150 Most Frequently Asked Questions On Quant Interviews Breaking into the world of quantitative finance is notoriously difficult. Whether you are aiming for a role at a top-tier hedge fund like Citadel, a high-frequency trading firm like Jane Street, or a bulge-bracket investment bank, the interview process is designed to push your mental limits. 150 Most Frequently Asked Questions On Quant Interviews
Quant interviews aren't just about knowing the right answer; they are about demonstrating how you think under pressure. To help you prepare, we’ve compiled the 150 most frequently asked questions, categorized by the core pillars of quantitative finance. 1. Probability and Combinatorics (The Foundation)
Probability is the "bread and butter" of quant trading. Expect questions that test your ability to calculate odds on the fly.
The Fair Coin: You flip a coin until you get two heads in a row. What is the expected number of flips?
Dice Sums: What is the probability that the sum of two 6-sided dice is 8?
The Monty Hall Problem: Should you switch doors? (Classic, but still asked to test basic intuition).
Russian Roulette: If a six-chambered revolver has two adjacent bullets, and the first shot was a blank, should you spin the cylinder before the next shot?
Card Shuffling: How many times must you shuffle a deck of 52 cards to make it truly random?
Expected Value of a Game: A game pays you the value of a die roll. What is the fair price to play?
Bayes’ Theorem: Given a positive test result for a rare disease, what is the actual probability the patient has it?
Poisson Arrivals: Customers arrive at a bank at a rate of 10 per hour. What is the probability that nobody arrives in the next 15 minutes?
Random Walks: What is the probability that a 1D random walk starting at 0 hits 10 before it hits -5?
The Secretary Problem: How do you choose the best candidate out of applicants?
(Questions 11–30 continue with permutations, combinations, and conditional probability scenarios.) 2. Mental Math and Brainteasers
Many firms use these to test "numerical fluency" and the ability to find "tricks" to simplify complex problems.
Square Roots: Estimate the square root of 85 to two decimal places. Large Multiplications: What is
Burning Ropes: You have two ropes that burn in 60 minutes but at inconsistent rates. How do you measure 45 minutes?
The Heavy Ball: You have 8 balls; one is heavier. How many weighings on a balance scale do you need to find it?
Filling the Tank: If Pipe A fills a tank in 3 hours and Pipe B in 5, how long does it take together?
Missing Number: You are given an array of numbers from 1 to 100 with one missing. How do you find it efficiently? Trailing Zeros: How many zeros are at the end of 100!?
(Questions 38–55 focus on rapid estimation and logical lateral thinking.) 3. Linear Algebra and Calculus
For Quant Researchers and Developers, a deep understanding of matrix math and optimization is mandatory.
Eigenvalues: What is the geometric interpretation of an eigenvector?
Positive Definite Matrices: Why is it important for a covariance matrix to be positive semi-definite? Taylor Series: Expand
Stochastic Calculus: What is Ito’s Lemma, and why is it used in Black-Scholes? Matrix Rank: If matrix , what is the maximum rank? Preparing for a quant interview can feel like
Lagrange Multipliers: How do you find the maximum of a function subject to a constraint? Gaussian Integrals: What is the integral of
e−x2e raised to the exponent negative x squared end-exponent −∞negative infinity ∞infinity
(Questions 63–80 cover SVD decomposition, partial derivatives, and convergence of series.) 4. Statistics and Machine Learning
With the rise of "Alpha Researchers," statistical significance and ML theory are now standard topics. p-values: Explain a p-value to a non-technical person.
Overfitting: How do you prevent a model from overfitting to noise?
Bias-Variance Tradeoff: Define it and explain how it affects model selection.
Linear Regression Assumptions: What are the five classical assumptions of OLS?
PCA: How does Principal Component Analysis reduce dimensionality?
Type I vs. Type II Errors: Which is worse in the context of a trading strategy? Cross-Validation: Why is -fold cross-validation used?
(Questions 88–110 cover Lasso/Ridge regression, Random Forests, and time-series analysis like ARIMA.) 5. Finance and Derivatives
You don't always need a finance degree, but you must understand the basics of options and pricing.
Put-Call Parity: Derive the relationship between a European call and put. The Greeks: What does Delta represent? What about Gamma?
Black-Scholes Assumptions: What are the flaws in the Black-Scholes model?
Implied Volatility: Why is the "volatility smile" observed in the market?
Delta Hedging: How do you make an option position delta-neutral?
Bond Pricing: What happens to bond prices when interest rates rise? Arbitrage: Define a risk-free arbitrage opportunity.
(Questions 118–135 cover swaps, futures vs. forwards, and exotic options.) 6. Coding and Algorithms (Python/C++)
Quants must implement their ideas. Expect "LeetCode style" questions focusing on efficiency. Time Complexity: What is the Big O complexity of QuickSort?
Hash Maps: How does a hash map work, and what is its average lookup time?
Memory Management: Explain the difference between the Stack and the Heap.
Binary Search: Implement a function to find an element in a sorted array. Linked Lists: How do you detect a cycle in a linked list?
OOP: What are the four pillars of Object-Oriented Programming? Python Decorators: What are they and how are they used?
(Questions 143–150 focus on dynamic programming and multi-threading basics.) Final Advice: How to Prepare
Master the Basics: Most people fail on simple probability, not complex ML. What is the derivative of ln(x)
Talk Out Loud: The interviewer wants to hear your thought process.
Practice Speed: For mental math, use apps or trainers to reduce your response time.
Read "The Green Book": Practical Guide to Quantitative Finance Interviews by Xinfeng Zhou is the industry Bible.
Good luck! The path to becoming a Quant is a marathon, not a sprint.
Introduction
Quantitative interviews, also known as quant interviews, are a crucial part of the hiring process for quantitative analysts, data scientists, and other roles that require strong mathematical and analytical skills. These interviews are designed to assess a candidate's technical knowledge, problem-solving skills, and ability to communicate complex ideas. In this write-up, we will cover 150 of the most frequently asked questions in quant interviews, providing you with a comprehensive resource to help you prepare.
Section 1: Mathematical Foundations (30 questions)
- What is the difference between a limit and an infinite series?
- How do you calculate the derivative of a function?
- What is the concept of convexity in mathematics?
- Can you explain the difference between a vector space and a subspace?
- What is the definition of a matrix's determinant? ...
- What is the Central Limit Theorem?
- Can you explain the concept of regression analysis?
- How do you calculate the eigenvalues and eigenvectors of a matrix?
- What is the difference between a parametric and non-parametric test?
- Can you define a stochastic process?
Section 2: Probability and Statistics (40 questions)
- What is the definition of probability?
- Can you explain the difference between a random variable and a probability distribution?
- What is the Bayes' theorem?
- How do you calculate the expected value of a random variable?
- What is the difference between a discrete and continuous uniform distribution? ...
- Can you explain the concept of correlation and its limitations?
- What is the definition of a p-value?
- How do you calculate the variance of a portfolio?
- What is the difference between a Type I and Type II error?
- Can you define a confidence interval?
Section 3: Financial Markets and Instruments (30 questions)
- What is the difference between a stock and a bond?
- Can you explain the concept of arbitrage?
- What is the definition of a derivative instrument?
- How do you calculate the present value of a cash flow?
- What is the difference between a call and put option? ...
- Can you explain the concept of risk-neutral valuation?
- What is the definition of a hedge fund?
- How do you calculate the Greeks (Delta, Gamma, Theta, Vega)?
- What is the difference between a long and short position?
- Can you define a swap contract?
Section 4: Data Analysis and Programming (30 questions)
- What is the definition of data mining?
- Can you explain the difference between a supervised and unsupervised learning algorithm?
- What is the definition of overfitting?
- How do you implement a linear regression model in Python/R?
- What is the difference between a data frame and a matrix? ...
- Can you explain the concept of data visualization?
- What is the definition of a SQL query?
- How do you optimize a portfolio using optimization techniques?
- What is the difference between a Jupyter Notebook and a script?
- Can you define a Monte Carlo simulation?
Section 5: Behavioral and Cultural Fit Questions (10 questions)
- Can you tell me about a time when you had to work with a difficult team member?
- How do you handle stress and pressure in the workplace?
- Can you describe a situation where you had to communicate complex ideas to a non-technical audience?
- What are your long-term career goals?
- Can you tell me about a project you worked on that you're particularly proud of? ...
- Why do you want to work in this industry, and what do you hope to achieve?
Conclusion
Quantitative interviews can be challenging, but with preparation and practice, you can increase your chances of success. This write-up covers 150 of the most frequently asked questions in quant interviews, providing you with a comprehensive resource to help you prepare. Remember to practice your technical skills, review common interview questions, and develop a strong understanding of mathematical and analytical concepts. Good luck with your interviews!
Here are some general tips to help you prepare:
- Review mathematical and statistical concepts, including calculus, linear algebra, probability, and statistics.
- Practice coding in languages such as Python, R, or MATLAB.
- Familiarize yourself with financial markets and instruments, including stocks, bonds, options, and derivatives.
- Develop a strong understanding of data analysis and visualization techniques.
- Practice communicating complex ideas to non-technical audiences.
- Prepare examples of past experiences and projects to showcase your skills and accomplishments.
By following these tips and reviewing the questions outlined above, you'll be well-prepared to tackle even the most challenging quant interviews.
The Ultimate Guide to Quant Interviews: 150 Most Frequently Asked Questions
Quantitative interviews, also known as quant interviews, are a crucial step in the hiring process for quantitative analysts, data scientists, and other roles that require strong mathematical and analytical skills. These interviews are designed to test a candidate's technical knowledge, problem-solving skills, and ability to think on their feet.
In this article, we will provide you with a comprehensive list of 150 frequently asked questions on quant interviews, covering a wide range of topics, including:
- Mathematical concepts (e.g., linear algebra, calculus, probability, and statistics)
- Programming languages (e.g., Python, R, MATLAB)
- Data structures and algorithms
- Financial markets and instruments
- Risk management and derivatives
- Machine learning and data science
- Behavioral questions and case studies
Section 1: Mathematical Concepts (30 questions)
- What is the difference between a vector space and a subspace?
- Can you explain the concept of basis in linear algebra?
- How do you calculate the determinant of a matrix?
- What is the difference between a limit and a derivative in calculus?
- Can you prove the fundamental theorem of calculus?
- What is the definition of a probability density function?
- How do you calculate the expected value of a random variable?
- What is the difference between a binomial distribution and a Poisson distribution?
- Can you explain the concept of conditional probability?
- How do you calculate the correlation coefficient between two random variables?
- What is the difference between a parametric test and a non-parametric test?
- Can you explain the concept of a p-value in hypothesis testing?
- How do you calculate the standard deviation of a portfolio?
- What is the difference between a covariance matrix and a correlation matrix?
- Can you explain the concept of a characteristic function in probability theory?
- How do you calculate the moment-generating function of a random variable?
- What is the difference between a martingale and a submartingale?
- Can you explain the concept of a stochastic process?
- How do you calculate the Ito's lemma?
- What is the difference between a geometric Brownian motion and a random walk?
- Can you explain the concept of a Feynman-Kac formula?
- How do you calculate the Black-Scholes formula?
- What is the difference between a risk-neutral measure and a real-world measure?
- Can you explain the concept of a Radon-Nikodym derivative?
- How do you calculate the Girsanov's theorem?
- What is the difference between a stochastic differential equation and a partial differential equation?
- Can you explain the concept of a viscosity solution?
- How do you calculate the finite difference method?
- What is the difference between a Monte Carlo method and a quasi-Monte Carlo method?
- Can you explain the concept of a copula in probability theory?
Section 2: Programming Languages (20 questions)
- Can you write a Python program to calculate the mean and standard deviation of a list of numbers?
- How do you implement a binary search algorithm in Python?
- Can you explain the concept of object-oriented programming in Python?
- How do you use the Pandas library to manipulate data in Python?
- Can you write a Python program to simulate a random walk?
- How do you implement a Monte Carlo simulation in Python?
- Can you explain the concept of a hash table in data structures?
- How do you implement a sorting algorithm in Python?
- Can you write a Python program to calculate the value of a European call option using the Black-Scholes formula?
- How do you use the NumPy library to perform numerical computations in Python?
- Can you explain the concept of a data frame in R?
- How do you implement a linear regression model in R?
- Can you write a MATLAB program to calculate the eigenvalues and eigenvectors of a matrix?
- How do you use the MATLAB Optimization Toolbox to solve optimization problems?
- Can you explain the concept of a pointer in C++?
- How do you implement a dynamic array in C++?
- Can you write a C++ program to simulate a stochastic process?
- How do you use the Boost library to perform numerical computations in C++?
- Can you explain the concept of a lambda function in Python?
- How do you implement a decorator in Python?
Section 3: Data Structures and Algorithms (20 questions)
- Can you explain the concept of a graph data structure?
- How do you implement a breadth-first search algorithm?
- Can you explain the concept of a heap data structure?
- How do you implement a merge sort algorithm?
- Can you explain the concept of a trie data structure?
- How do you implement a dynamic programming algorithm?
- Can you explain the concept of a greedy algorithm?
- How do you implement a divide-and-conquer algorithm?
- Can you explain the concept of a NP-complete problem?
- How do you implement a approximation algorithm?
- Can you explain the concept of a streaming algorithm?
- How do you implement a parallel algorithm?
- Can you explain the concept of a distributed algorithm?
- How do you implement a load balancing algorithm?
- Can you explain the concept of a scheduling algorithm?
- How do you implement a queue data structure?
- Can you explain the concept of a stack data structure?
- How do you implement a tree data structure?
- Can you explain the concept of a disjoint-set data structure?
- How do you implement a segment tree data structure?
Section 4: Financial Markets and Instruments (20 questions)
- Can you explain the concept of a financial market?
- How do you calculate the return on investment (ROI) of a stock?
- Can you explain the concept of a derivative instrument?
- How do you calculate the value of a European call option using the Black-Scholes formula?
- Can you explain the concept of a risk-free rate?
- How do you calculate the yield to maturity of a bond?
- Can you explain the concept of a credit default swap (CDS)?
- How do you calculate the value of a swap?
- Can you explain the concept of a futures contract?
- How do you calculate the margin requirement for a futures contract?
- Can you explain the concept of a forward contract?
- How do you calculate the value of a forward contract?
- Can you explain the concept of a option Greeks (delta, gamma, theta, vega)?
- How do you calculate the implied volatility of an option?
- Can you explain the concept of a volatility smile?
- How do you calculate the value of a barrier option?
- Can you explain the concept of a binary option?
- How do you calculate the value of a binary option?
- Can you explain the concept of a basket option?
- How do you calculate the value of a basket option?
Section 5: Risk Management and Derivatives (20 questions)
- Can you explain the concept of risk management?
- How do you calculate the value-at-risk (VaR) of a portfolio?
- Can you explain the concept of expected shortfall (ES)?
- How do you calculate the expected shortfall of a portfolio?
- Can you explain the concept of a stress test?
- How do you perform a stress test on a portfolio?
- Can you explain the concept of a scenario analysis?
- How do you perform a scenario analysis on a portfolio?
- Can you explain the concept of a derivative instrument?
- How do you calculate the delta of a derivative instrument?
- Can you explain the concept of a hedge?
- How do you calculate the hedge ratio of a portfolio?
- Can you explain the concept of a speculative position?
- How do you calculate the potential profit/loss of a speculative position?
- Can you explain the concept of a arbitrage opportunity?
- How do you identify an arbitrage opportunity?
- Can you explain the concept of a martingale?
- How do you calculate the martingale probability of a portfolio?
- Can you explain the concept of a risk-neutral valuation?
- How do you calculate the risk-neutral value of a derivative instrument?
Section 6: Machine Learning and Data Science (20 questions)
- Can you explain the concept of machine learning?
- How do you implement a linear regression model using Python?
- Can you explain the concept of a neural network?
- How do you implement a neural network using Python?
- Can you explain the concept of a decision tree?
- How do you implement a decision tree using Python?
- Can you explain the concept of a random forest?
- How do you implement a random forest using Python?
- Can you explain the concept of a support vector machine (SVM)?
- How do you implement a SVM using Python?
- Can you explain the concept of a k-means clustering algorithm?
- How do you implement a k-means clustering algorithm using Python?
- Can you explain the concept of a principal component analysis (PCA)?
- How do you implement a PCA using Python?
- Can you explain the concept of a t-SNE algorithm?
- How do you implement a t-SNE algorithm using Python?
- Can you explain the concept of a gradient boosting algorithm?
- How do you implement a gradient boosting algorithm using Python?
- Can you explain the concept of a data preprocessing technique?
- How do you implement a data preprocessing technique using Python?
Section 7: Behavioral Questions and Case Studies (20 questions)
- Can you tell me about a time when you had to work with a difficult team member?
- How do you handle a situation where you are under pressure to meet a
Part 6: Coding & Algorithms (Questions 106–125)
For quant developers (QR/QD), expect Python/C++ and data structures.
- What is the difference between a list and a tuple in Python?
- What is a dictionary? What is its time complexity? (O(1) average).
- Write a function to check if a string is a palindrome.
- What is recursion? Give an example.
- What is the Fibonacci sequence? Write an efficient (memoized) version.
- What is a Monte Carlo simulation for pricing an option?
- What is the time complexity of quicksort? (O(n log n) average).
- Explain the difference between a shallow and deep copy.
- What is a memory leak?
- What is a pointer? (C++ specific)
- What is the difference between a stack and a queue?
- Implement a function to compute the moving average of a stream.
- What is the modulo operation? Why is it used in hashing?
- What is the Sieve of Eratosthenes?
- Write a function to compute the dot product of two vectors without numpy.
- What is vectorization? Why is it fast?
- What is the global interpreter lock (GIL) in Python?
- What is the difference between multithreading and multiprocessing?
- Implement a simple linear regression from scratch.
- What is a binary search? Implement it.