Meta | Enterprise Engineer | Phone screen | Jan 2022
Anonymous User
1502

Questions are variant of

  1. Compare two strings - one is normal string only with lower case letters and other string is compressed string
    ex : compare("aaaaabccc","a5bc3") -> should return true
    compare("aarrrrfsd","ar4fsd")->should return false
  2. Minimum removal to make valid parentheses

I was able to finish the first quesetion but couldn't able to finish the second one, I have explained the brute force approach.
Expecting a rejection.

All the best folks :)

Update : Got official Rejection.

Comments (3)