Software Development Interview Questions

37,007 software development interview questions shared by candidates

1. Position of some Rectangular Ships (spanning max over 4 cells in a grid) is given. Some bullets are fired (each shot corresponds to a cell in the grid), Count the number of ships which got partially hit or completely hit (in this case they will sink). All the inputs were given in string. Ships were given as top left, bottom right grid cells. No duplicate shots. 2. template metaprogramming code for removing adjacent duplicates from a vector<int>.
avatar

Software Development Engineer

Interviewed at Maven Securities

3.9
Apr 28, 2021

1. Position of some Rectangular Ships (spanning max over 4 cells in a grid) is given. Some bullets are fired (each shot corresponds to a cell in the grid), Count the number of ships which got partially hit or completely hit (in this case they will sink). All the inputs were given in string. Ships were given as top left, bottom right grid cells. No duplicate shots. 2. template metaprogramming code for removing adjacent duplicates from a vector<int>.

Viewing 2071 - 2080 interview questions

Glassdoor has 37,007 interview questions and reports from Software development interviews. Prepare for your interview. Get hired. Love your job.