← Salesforce questions
CodingEasy

Matrix symmetry, LCS, and balanced parenthesis

Filed under Salesforce

Solve three separate sub-problems: 1. Check if a given matrix is symmetric. 2. Find the Longest Common Subsequence (LCS) of two strings. 3. Generate all valid balanced parenthesis combinations for a…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Salesforce questions

Collected from public candidate posts and coding forums. Updated Nov 2026.