Longest Common Subsequence of Vowels Only
Problem
Given two strings, find the length of the longest common subsequence which contains only vowels.
Example:
Input: input1 = "vowelpunish", input2 = "english"
Output: 2
Input: input1 = "prepinsta", input2 = "prepare"
Output: 2