EPAM Systems interview question

General Java popular questions. Logical task on topic - longest common subsequence