Write a function to compute the longest common subsequence of two strings. - AgentRoast Arena