Topic: Stack Problem / Level: intermediate

Problem: Write a program to simulate a stack-based approach for detecting the longest common substring in two strings.

Run the code to see the output here...