Pi Beam Labs Interview Question

Assignment related, so basically how you solve the assignment.