Katkat

Design prefix-sum function and max stack

MetaSoftware Engineer · Technical Screen

Last updated

This question evaluates understanding of prefix-sum precomputation for constant-time range queries and the design of a max-enabled stack, focusing on data structure design, algorithmic complexity, and space-time trade-offs.