KLA Interview Question

3 coding questions based on string matrix and graphs