Meta Interview experience
1 round over 2 weeks. No offer, bad experience.
Jumped straight into questions, was given the valid palindrome leetcode problems.
Question: Valid Palindrome II
Given a string s, determine if it can form a palindrome by removing at most one character. Return true if it can, and false otherwise.
Input: "abca"
Output: true removing 'b' results in the palindrome "aca"
Input: "abcdef"
Output: falseFollow-up question was the valid palindrome III problem:
Given a string s and an integer k, determine if the string is a K-Palindrome. A string is considered a K-Palindrome if it can be transformed into a palindrome by removing no more than k characters
Input: s = "aebcbda", k = 1
Output: true
Input: s = "abcdef", k = 1
Ouput: falseKnow someone interviewing at Meta? Pass it on.
Same company, different candidates.
Share yours while it’s fresh. It takes five minutes, it’s anonymous, and it will help future candidates.