this is a problem closely related to the longest common subsequence problem ahubwo yizeye ijambo kristo amubwiye maze abonera imbaraga mu kurikurikiza