Stack Size Configuration - Quant Developer Interview Question
Difficulty: Medium
Category: systems
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: systems, c++, recursion
Problem Description
Deep recursion is frequently employed in quantitative finance for tasks such as traversing large order book trees and pricing path-dependent options using binomial models. As default operating system stack limits are often insufficient for these intensive operations, programmatically adjusting resource limits via system calls is crucial for preventing stack overflows in production environments.
Task
Implement a StackConfigurator class that dynamically adjusts the thread's stack size using POSIX
Practice this medium developer interview question on MyntBit - the all-in-one quant learning platform with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.