BNY Interview Question

Valid parenthesis, in- memory node deletion from linkedlist