code: def skip_common_stack_elements(stacktrace, base_case):
    
    for i, (trace, base) in enumerate(zip(stacktrace, base_case)):
      if trace != base:
        return stacktrace[i:]
    return stacktrace[-1:]
docs: Skips items that the target stacktrace shares with the base stacktrace.