Locker Toggle Simulation - Quant Trader Interview Question
Difficulty: Easy
Category: Brainteasers
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: big-o, complexity, simulation, arrays
Problem Description
A developer has written a simulation to solve the "100 Lockers" problem. They use a nested loop approach to toggle the states of the lockers. What is the Time Complexity of this function in terms of $N$ (the number of lockers)?
Practice this easy trader 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.