Facebook | Phone Screen | Reverse String & Permutation in String

Difficulty: EASYCategory: InterviewExperienceFrequency: 1Asked On 2019-08-12Added By Anonymous
Source: Link

Company: Meta
Role: e3, e4
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

I had my first technical phone screening. My executions were disabled on Coderpad for both problems and I was asked to write and walk over the code. I wanted to know what is the selection criteria if they don't ask you to run the test cases. I think problems were comparatively easy string based mostly.

But how does an interviewee judge such a round where you can't run your problem? I gave a walk over of Java code and explained the time complexity. It took me a little longer to explain the second one as I completed the first one in 10 minutes or so, had time to think over the second, and it was a bit trickier than it was supposed to be when trying to code.

1. https://leetcode.com/problems/reverse-string
2. https://leetcode.com/problems/permutation-in-string

Comments