MathWorks interview question

String manuplation which seemed like a leetcode hard

Interview Answer

Anonymous

10 Feb 2024

I explained brute force first, and asking clarifying questions didnt help as he was very non chalant about the whole process