Xantium | Quantitative Developer Intern | Coding | Onsite

justin5764justin5764·
Interview Date:October 21, 2025Region:UnspecifiedHiring Team/Org:General Hire

State‑Machine Problem description You are given a function next(state) that, for any integer state from 0 up to M‑1, returns another integer in the same range. State 0 is the termination state. Starting from any state, repeatedly applying next will eventually reach 0 or enter a cycle that does not contain 0. Goal Write a function that receives the integer M and the next function, then returns a list of all states tha...

Sign in to view the full interview experience

Create or use your InterviewDB account to read the full Warren post and all shared details.

Sign in to continue
0

Discussion

0

Log in to post a comment or vote.

Sort by
Loading comments...

Interview Resources

InterviewDB

About InterviewDB

Crowdsourced Interview Question Bank for Job Seekers in Tech/Finance Industry

Copyright © 2026 InterviewDB. Victory is reserved for those who are willing to pay its price.