Regeneron Interview Question

Write code for generating LOCF records