How would you approach a multi-part coding assessment where you must complete part 3 to advance?
Implement the dependency-resolution portion of that approach. Given assessment parts and their prerequisite part IDs, return every incomplete part whose prerequisites are complete, sorted by part ID.
Function: next_unlocked_parts(parts, completed), where parts is a list of dictionaries with integer id and list requires, and completed is a list of completed IDs. Return a list of integer IDs.
def next_unlocked_parts(parts, completed):