Implement get_min() in a stack data structure.
Use a stack represented by a dictionary with values and mins lists. The mins list stores the minimum value after each push. Return the current minimum in constant time, or None when the stack is empty.
Function signature: get_min(stack)
stack contains exactly two keys: values and mins.values and mins have equal lengths.mins correctly stores the minimum after each push.def get_min(stack):