Round 1: Online Assessment
Questions:
-
Received a Codility link to complete the assessment.
-
Two of the questions were the same as mentioned in this OA post: Microsoft November 2023 Online Assessment.
-
One of the problems corresponds to this LeetCode question: Maximal Network Rank.
-
Third Question (Frog Game):
Given an array blocks where each cell represents the height of the current block, two frogs start on the same block and can only jump to an adjacent block if it is higher or equal. Return the max distance that can be between the two frogs starting together on any block.
Example 1:
[9,2,5,3,0] -> Answer: 2 (start on cell 4, one frog goes to cell 2).
Example 2:
[1,2,3,4,5,8] -> Answer: 6 (start on cell 5).
Candidate's Approach
I solved all the questions successfully.
Interviewer's Feedback
No feedback provided.