Affirm NG VO 面经真题 new grad swe tech screen

湾区Fintech上市公司Affirm今年大量岗位开放,opening非常多,上岸好时机。

公司总部在湾区,但永久remote,在美国全国任何地方都可以申请工作,不用搬到湾区来。

请不要申请Poland或者Spain的岗位,选择US或者Canada的岗位。

Affirm的Engineer朝九晚五,加班不多。H1B/绿卡政策友好,办H1B,入职90天以后可以办绿卡。

下面看看Affirem最近的面试真题

1. Unique Minimum Substring: "Given a list of strings such as ['abc', 'bde', 'cbd'], find the shortest unique substring from each string. A unique substring is one that does not appear in any other string in the list. Use the length of the substrings to determine the minimum. If multiple unique substrings of the same length exist, any of them can be considered the minimum."

2. Unique Minimum Subsequence: "The task involves finding the shortest unique subsequence within a string or a list of strings. Unlike substrings, subsequences are not required to occupy consecutive positions within the original strings. Determine the minimum unique subsequence that distinguishes each string from the others in the list. If the instructions are not clear or the concept seems unfamiliar, consider reviewing definitions and examples of subsequences in string analysis."

3. Write a tool that keeps track of the average of the most recent N points added to the tool.

Users add data with an add_point method and fetch the average when needed with get_average.

Assumptions

  • Window size (i.e. N) is fixed after instantiation
  • Window size < 10^4
  • Points may be positive, negative, or zero value floats
联系我来获取完整的题目信息和解题思路,我们可以协助您通过任何OA VO

Leave a Reply

Your email address will not be published. Required fields are marked *