QuantForcesquant interview practice

Problemset

23 / 689 problems
Filters
#NameTagsDifficultySolved by
gb_ch07_q001Number swap (without temp variable)
Green Book · Ch 7 · Algorithms and Numerical Methods
1000x0
gb_ch07_q002Unique elements in a sorted array
Green Book · Ch 7 · Algorithms and Numerical Methods
800x0
gb_ch07_q003Horner's algorithm
Green Book · Ch 7 · Algorithms and Numerical Methods
1100x0
gb_ch07_q004Moving average
Green Book · Ch 7 · Algorithms and Numerical Methods
1000x0
gb_ch07_q005Sorting algorithms (3 with complexity)
Green Book · Ch 7 · Algorithms and Numerical Methods
1200x0
gb_ch07_q006Random permutation — shuffle 52 cards
Green Book · Ch 7 · Algorithms and Numerical Methods
1300x0
gb_ch07_q007Random permutation — sequential character pick
Green Book · Ch 7 · Algorithms and Numerical Methods
1400x0
gb_ch07_q008Find min and max in 3n/2 comparisons
Green Book · Ch 7 · Algorithms and Numerical Methods
1400x0
gb_ch07_q009First nonzero element in array
Green Book · Ch 7 · Algorithms and Numerical Methods
1300x0
gb_ch07_q010Search in sorted matrix
Green Book · Ch 7 · Algorithms and Numerical Methods
1400x0
gb_ch07_q011Fibonacci numbers — efficient computation
Green Book · Ch 7 · Algorithms and Numerical Methods
1500x0
gb_ch07_q012Maximum contiguous subarray (Kadane's algorithm)
Green Book · Ch 7 · Algorithms and Numerical Methods
1400x0
gb_ch07_q013Power of 2
Green Book · Ch 7 · Algorithms and Numerical Methods
1100x0
gb_ch07_q014Multiplication by 7
Green Book · Ch 7 · Algorithms and Numerical Methods
900x0
gb_ch07_q015Probability simulation with a fair coin
Green Book · Ch 7 · Algorithms and Numerical Methods
1700x0
gb_ch07_q016Poisonous wine
Green Book · Ch 7 · Algorithms and Numerical Methods
1500x0
gb_ch07_q017Monte Carlo for European call
Green Book · Ch 7 · Algorithms and Numerical Methods
1300x0
gb_ch07_q018Generate normal random variables from uniform
Green Book · Ch 7 · Algorithms and Numerical Methods
1400x0
gb_ch07_q019Variance reduction techniques
Green Book · Ch 7 · Algorithms and Numerical Methods
1400x0
gb_ch07_q020Monte Carlo for delta and gamma
Green Book · Ch 7 · Algorithms and Numerical Methods
1400x0
gb_ch07_q021Monte Carlo estimate of pi
Green Book · Ch 7 · Algorithms and Numerical Methods
1100x0
gb_ch07_q022Finite difference methods
Green Book · Ch 7 · Algorithms and Numerical Methods
1500x0
gb_ch07_q023Stability of explicit finite difference
Green Book · Ch 7 · Algorithms and Numerical Methods
1500x0