Engineer Senior Interview Questions

107,185 engineer 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 601 - 610 interview questions

Glassdoor has 107,185 interview questions and reports from Engineer senior interviews. Prepare for your interview. Get hired. Love your job.