InterviewDB Question

Time to Stabilize - Find Steps Until System State Stops Changing

Question Details

Problem A cellular automaton starts with an array of integers. At each step, every element is replaced by the sum of its neighbors (not including itself). An element at index 0 or n-1 has only one neighbor. The system "stabilizes" when no element cha…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Oa