Meta intern start date One-third of an acre | Meta 2026 Summer Intern Start Date

3,747 Views

Meta intern最近开放了 Software Engineer Intern,岗位有一点要求需要注意下 ‘This internship has a minimum twelve (12) week duration with 2025 start dates only’,必须是2025年毕业并且实习最少12周,最近也有不少小伙伴收到了Meta intern的面试,offer已经拿到了,start date February 3, 2025,现在分享下近期Meta intern的面试真题。

Meta intern start date One-third of an acre | Meta 2026 Summer Intern Start Date

Meta Intern VO 1

Give two strings judge if one is a subsequence of another

Example:
input: s = "abc", t = "ahbgdc"
output: true

Follow up question.

Given a string s and an array of strings words, return the number of words[i] that is a subsequence of s

Example:
input: s = "abc", words = ["a", "bb", "acd", "ace"]
output: 2

Problem-solving ideas

Basic problem solving

two-pointer method (computing):

  • Iterate over two strings with two pointers each.
  • If the current character matches, both pointers move; otherwise, only the main string pointer moves.
  • If the pointer to a substring can be traversed, it means it is a subsequence.

Time complexity: O(n), where n is the length of the main string.

Follow up solution

brute force:

  • right words in each string, use the double-pointer method to determine whether the S The subsequence of the
  • Time Complexity: O(m * n), where m is words The length of n is the length of the S The length of the

Optimization methods:

  1. Preprocessing the Master String S:
    • Create a hash table or array charIndex, stores the position of each character occurrence in the main string.
    • Use binary lookup to quickly find a match.
  2. Quick positioning using the dichotomy method:
    • For each character in the string, the characters in order in the S Find the next position in the center using bisection.
    • Time complexity: O(n + m * k * log(n)), where k Yes words The average length of the strings in the

Meta Intern VO 2

长度为 n 的数组 array,其中每个元素 x 满足 0 ≤ x ≤ n-1。找到数组中所有重复的元素。

Example

input: [3, 1, 2, 3, 0]
output: [3]

Follow up question

No extra space, no recursive calls or func calls.

Core idea: modify the array in place, iterate over each element in the array, place the element in the correct position, swap the element to the correct position, if the position is already occupied, the element is a duplicate
Time complexity O(n), space complexity O(1)

Meta internship schedule

  1. Internship schedule (assuming 12 weeks):
  2. Weeks 1-3: Induction
  3. Weeks 5-6: Mid-cycle review
  4. Weeks 10-11: Final decision on offer (return offer is decided here)
  5. Weeks 11-12: Relax and have fun. Only your performance in weeks 1-10 will count towards your internship assessment!

Say goodbye to interview troubles and get your ideal Offer straight away!

After our powerful VO assist Through the analysis and communication of these interview questions, the interviewer not only understands the candidate's programming ability, but also sees my clear thinking and effective communication skills in the process of problem solving. These not only help to deal with Meta's interview, but also improve our ability to solve real programming problems. I wish you all good luck in your interviews!

author avatar
Alex Ma Staff Software Engineer
Currently working at Google, with more than 10 years of development experience, currently serving as Senior Solution Architect. He has a bachelor's degree in computer science from Peking University and is good at various algorithms, Java, C++ and other programming languages. While in school, he participated in many competitions such as ACM and Tianchi Big Data, and owned a number of top papers and patents.
END
 0