Truveta Interview Question

Write a crud function. Basic recursion problem.