Stripe Front-end interview first round

Title Template

[Company Name] - [Job Title] - [Stage]
Stripe
Description Template:
Level: [What level you were interviewing for] Intermediate
Education: [Education Level] Master
Years of Experience: [YOE] 4
Questions Asked: [List of Questions Asked]
This first round interview was a passport formate validation form, there were 3 steps:
Given an object contains the contry and corresponding passport format

  1. created a select dropdown, a text input, and a submit button, each occupy a row.
  2. create the validate function
  3. connect the logic of input and validate the format

IMPORTANT: Remember to specify the company name & role in the tags

Example:
Title:
Google - Software Engineer (Frontend) - Phone Screen

Description:
Education: Masters
Years of Experience (YOE): 7
Questions Asked:
Two Sum Problem:
Example 1:
2.Input: nums = [2,7,11,15], target = 9*
3.Output: [0,1]*
4.Explanation: nums[0] + nums[1] == 9, thus the output is [0, 1].*
Example 2:
5.Input: nums = [3,2,4], target = 6*
6.Output: [1,2]*