* @brief As this is stack implementation using dynamic array this function will * shrink the size of stack by twice as soon as the stack's capacity and size * has significant difference. * * @param ptr Stack pointer * @param cap Capacity of stack * @return DArrayStack*: Modified stack */
source not stored for this graph (policy: none)