Software Senior Interview Questions

75,550 software senior interview questions shared by candidates

Create a game board(2D array) of a particular size (width and height provided). For the sake of simplicity lets say you have a n x n size 2d array. Insert k number of enemies in this game board randomly where k < n * n . So you can assume that initially the matrix is full of 1s and you insert enemies which are 0s randomly in the 2d array
avatar

Senior Software Engineer

Interviewed at Twitch

3.8
Apr 27, 2018

Create a game board(2D array) of a particular size (width and height provided). For the sake of simplicity lets say you have a n x n size 2d array. Insert k number of enemies in this game board randomly where k < n * n . So you can assume that initially the matrix is full of 1s and you insert enemies which are 0s randomly in the 2d array

Viewing 481 - 490 interview questions

Glassdoor has 75,550 interview questions and reports from Software senior interviews. Prepare for your interview. Get hired. Love your job.