Optum Interview Question

SQL queries and two medium dsa questions