VISA OA || SSE || CodeSignal
Summary
I applied for an SSE position at VISA and received a CodeSignal Online Assessment. The OA consisted of four challenging questions, and I was unable to solve all of them, leading me to believe I have been rejected.
Full Experience
I applied for a Software Staff Engineer (SSE) position at VISA and was invited to take a CodeSignal Online Assessment. The assessment presented a set of four distinct coding challenges.
I managed to solve the first two questions within a reasonable time; the first took only about 2 minutes. The second question, which involved time parsing, took approximately 30 minutes due to the necessary formatting and careful handling of edge cases.
The third question, however, proved to be quite difficult, particularly with the padding requirements for newspaper paragraph formatting, and I couldn't complete it. By the time I reached the fourth question, I was out of time due to struggling with the previous one. I didn't even attempt the last problem but realized it wasn't straightforward.
Observing that many other candidates reportedly received easier OAs and solved all questions, I anticipate a rejection.
Interview Questions (4)
Given an array of numbers and some scores, if the scores addition from 0th index till the current index exceeds or equals a target score, return the index, else return -1.
Given a series of time stamps in chronological order in HH:MM format, representing bus departures. Given the current time in HH:MM format, return the time of the bus that departed before the current time. If there is no bus that departed before the current time, return -1.
Given a paragraphs array and a width limit, print the paragraphs on the newspaper. Padding needs to be added based on even or odd spaces left. Also, add * around the answer array for aesthetics (Stupid req).
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.
Example input: [1,2], [2,3], [4,5], [1,5]
Example output: 4,5,1,2,3.