algorithm concepts

Design, implement and analyze two algorithms to solve the longest common prefix (LCP) and Longest common subsequence (LCS) problem using the naive brute force approach and divide and conquer approach.