Dropbox Interview Question for Software Engineer / Developers
- 0of 0 votes
Game of Death:- praneeth.kapuganti July 07, 2017 in United States
Implement an algorithm that produces the next move in the game of death.
Basically given a two dimensional array it will have either values 1 (live cell) or 0 (dead cell)
1. A Live cell will live only if it has two or three live neighbors All other cases die.
2. A dead cell with exactly three live neighbors will live otherwise no change, dead
Transform the array by using above two rules
| Report Duplicate | Flag | PURGE
Dropbox Software Engineer / Developer Algorithm
Open Chat in New Window