Blume Global Interview Question

Basic algorithm questions