Meta Mock Round

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-04-08Added By Anonymous
Source: Link

Company: Meta
Role: unknown
Interview Stage: Mock Round
Location: unknown
Year: unknown

Original Post Content:

I had Meta Mock round. I got these two questions.

1. https://leetcode.com/problems/move-zeroes/

2. I did not find second question in leetcode. Question was: you have sticker as source "facebook" and target string. How many minimum sticker you will need to generate the target string, if you can't then return -1.

For example: source: facebook, Target: face output: 1
source: facebook, Target: boooo output: 2

Comments