Junior Software Interview Questions

12,099 junior software interview questions shared by candidates

you are given two dimensions arr (playing board) with "submarines" on it. the submarines are all in a rectangular shape. you need in the most efficient way to find the number of all submarines that are located on the board.
avatar

Junior Software Engineer

Interviewed at Vayyar

3.9
Aug 27, 2021

you are given two dimensions arr (playing board) with "submarines" on it. the submarines are all in a rectangular shape. you need in the most efficient way to find the number of all submarines that are located on the board.

They asked 3 questions, first two were reasonable and were based on using hash tables and other data structures, and knowing their space and time complexity. one of the question was given a sorted list of integers (you must ask questions about the list and the variables it contains!!), implement an algorithm to check if there are two numbers in the list that their multiplication gives you a number X. for example: you are given a list [1,2,6,10] and X=20. what are the two number in the list that gives A*B=20? in this case 2 and 10. This must be done in O(n) (could be even better, can't recall).
avatar

Junior Software Engineer

Interviewed at Cortica

3
Dec 29, 2019

They asked 3 questions, first two were reasonable and were based on using hash tables and other data structures, and knowing their space and time complexity. one of the question was given a sorted list of integers (you must ask questions about the list and the variables it contains!!), implement an algorithm to check if there are two numbers in the list that their multiplication gives you a number X. for example: you are given a list [1,2,6,10] and X=20. what are the two number in the list that gives A*B=20? in this case 2 and 10. This must be done in O(n) (could be even better, can't recall).

Viewing 91 - 100 interview questions

Glassdoor has 12,099 interview questions and reports from Junior software interviews. Prepare for your interview. Get hired. Love your job.