Solve two string algorithm tasks
Company: Meta
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: Medium
Interview Round: Technical Screen
Quick Answer: This question evaluates string algorithm skills — specifically parentheses balancing and shortest covering-substring problems — testing linear-time algorithm design, frequency tracking, and handling of large input-size constraints in the coding & algorithms domain.