Junior Software Engineer Interview Questions

7,249 junior software engineer interview questions shared by candidates

Codility Questions -> LeetCode Style. 1. you are given a message (String) and K (number), and you need to return an edited message (String) to be displayed at some app that can display at most K chars for this message. for this you need to edit the message only between words and add " ..." in the end. for example: "this is an example message", K = 10 : return "this ,,, " because "this is ,,," length is 11 and you need to omit "is" as well. 2. you are given a string representing moves of a robot "<><>v^" in a 2D plane. you are starting at (0,0) and need to return True or False if the robot path after the moves creats a rectangle. 3. https://leetcode.com/discuss/interview-question/4309863/Microsoft-OA-Historical-Max-Profit-of-a-Stock/ I though I was doing great, and I passed all the example tests. I think I fell on "performance" tests. LESSON LEARNED : AVOID RECURSION IF THE INPUT CAN BE LARGE! :(
avatar

Junior Software Engineer

Interviewed at Check Point Software Technologies

3.6
Feb 7, 2024

Codility Questions -> LeetCode Style. 1. you are given a message (String) and K (number), and you need to return an edited message (String) to be displayed at some app that can display at most K chars for this message. for this you need to edit the message only between words and add " ..." in the end. for example: "this is an example message", K = 10 : return "this ,,, " because "this is ,,," length is 11 and you need to omit "is" as well. 2. you are given a string representing moves of a robot "<><>v^" in a 2D plane. you are starting at (0,0) and need to return True or False if the robot path after the moves creats a rectangle. 3. https://leetcode.com/discuss/interview-question/4309863/Microsoft-OA-Historical-Max-Profit-of-a-Stock/ I though I was doing great, and I passed all the example tests. I think I fell on "performance" tests. LESSON LEARNED : AVOID RECURSION IF THE INPUT CAN BE LARGE! :(

Viewing 1811 - 1820 interview questions

Glassdoor has 7,249 interview questions and reports from Junior software engineer interviews. Prepare for your interview. Get hired. Love your job.