Applied for SSE and got OA Codesignal Link, questions were as follows.
Q1. Given an array of numbers and some scores, if the scores addition from 0th index till the current index exceeds or equals target score, return the index, else return -1;
Took 2 mins to code.
Q2. Given a series of time stamps in chronological order in HH:MM format. These time stamps are depature of buses. Given the current time in HH:MM format, return the time of the bus that departured before the current time. If there is no bus that departured before current time, return -1;
Took approx 30 mins to code as formatting was involved and handling of edge cases.
Q3. Given a paragraphs array and a width limit, print the paragraphs on the newspaper. Padding need to added based on even or odd spaces left. Also add * around the answer array for aesthetics (Stupid req).
Could not solve. Was getting padding issues.
Q4. You have visited islands but forgot the order in which you visited. You are given edges, for example [1,2] which means island 1 and 2 were visited consecutively. Not necessary 1 was visited before 2. So given such edges try to form an ascending or descending order of islands that were visited.
[1,2], [2,3], [4,5], [1,5]
Ans: 4,5,1,2,3.
Did not attempt as last question took up a lot of time. But did think and came to know not an easy approach.
Saw that many folks got easy OAs and were able to solve all 4 questions. Posting to make aware that these questions also exist. I am sure I am rejected.