Find Longest Common Ending

# Introduction In this lab, you need to write a program that finds and returns the longest common ending between two strings, or -1 if there is none.

|60 : 00

Click the virtual machine below to start practicing