I was applying to Facebook through a friend that is working there. I was first contacted by a recruiter who asked some technical questions.
I was next contacted only 2 weeks later and a phone interview was set.
The question was relatively easy, but I was stressed and couldn't think of a way to make it more efficient.
Interview questions [1]
Question 1
Given a string of an arithmetic expression, composed of numbers, '+' and '*', calculate the result -
e.g. "2+4*5*7"
1 leetcode med, 1 leetcode hard. make sure you know your DSA and leetcode questions. I wasn't able to get an offer bc i didnt complete the second question. Got a reply 2 days later saying they would move on
Overall, the process took a little over two weeks, which felt a bit longer than I anticipated. After a quick screening, I went through two technical rounds focusing on coding and DSA concepts. One of the questions was a classic palindrome check; mid-way through, I realized it was something I had practiced on PracHub just days earlier. The final step was a casual behavioral interview. I was relieved to get an offer shortly after, which I happily accepted.
Interview questions [1]
Question 1
Given a string, determine if it is a valid palindrome considering only alphanumeric characters and ignoring case.