Title Template
[capitalOne] - [Front end / Full stack] - [Senior]
Description Template:
Level: [Senior]
Education: [Master degree]
Years of Experience: [3+, 5 preferred]
Questions Asked: [
codesignal assessment
1- You are given an array of integers arr, your task is to determine whether each sequence
of 3 elements in the array ( arr[i], arr[i + 1], arr[i + 2] ) are monotonic.
3 consecutive elements are monotonic if their values are in a strictly increasing or strictly
descreasing order.
2- Imagine you’re part of a team analyzing fictional alien technology logs.
You have a string alienCode, which represents activity codes from their devices.
Your task is to examine this string and count how many substrings of this code represent numbers
evenly divisible by 3. it is important to note that none of these substrings should start with zero
unless the substring is the character “0” itself.
you are not expected to provide most optimal solution:
3- All the competitors in a stock car race have completed their qualifying laps. Each lap, the driver with the current slowest “best” time is eliminated (that is, the highest personal
best time).
If multiple drivers tie for the slowest time, they are all are eliminated.
You are given a two-dimensional string array with each driver’s name and lap time in seconds for each lap.
Your task is to return the drivers in the order in which they were eliminated, ending with the last driver or drivers remaining.
When multiple drivers are eliminated on the same lap, their names should be listed alphabetically.
4- In the shadowy circuits of the hacker underworld, data isn’t just stored, it’s encoded with secrets. Among the lines of encrypted entries lies an array of codes (represented by positive integers), each one a digital fingerprint.
Within this set, certain code-pairs appear nearly identical, save for a subtle corruption in a single digit.
You’ve intercepted this array, and your mission is to uncover how many unique index-pairs (i, j) exist such that 0 ≤ i < j ‹ codes. length, where the codes are exactly the same length, but differ in precisely one digit.
]
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]*