Voleon Software Engineer Interview Questions
Practice the exact questions companies are asking right now.
Validate whether a binary string is good
You are given a binary string s consisting only of characters '0' and '1'. Define a good string recursively by the grammar: - '0' is a good string. - ...
Simulate an exchange and participation-rate trading
Implement a simplified trading simulation in three parts. Part 1 — Process market data / exchange interaction (order book) Design a minimal limit-orde...
Implement sparse matrix addition and multiplication
Implement sparse-matrix operations with explicit error handling. Sparse matrix A matrix A has dimensions r x c and is sparse, meaning most entries are...
Count queen attacks on points with blockers
You are given positions on an (unbounded) 2D integer grid. - queens: coordinates of queens - points: query coordinates A queen attacks along 8 directi...
Implement Kac ring with O(1) color and kstep
You are implementing a Kac ring dynamical system. Model - There are N positions arranged in a circle, indexed clockwise: 0, 1, ..., N-1. - Each positi...
Process exchange prints, volume checks, and client orders
You are writing a broker program that interfaces with an exchange via a stream of commands on stdin. You must process commands in order and write requ...