Topic: Stack Problem / Level: advanced

Problem: Create a function that uses stacks to solve the problem of finding the longest sequence of alternating positive and negative numbers in a matrix with constraints on sequence length.

Run the code to see the output here...