JobsJob TrackerJob alerts

Sahaj Software Solutions ยท 15 questions

All 15Coding 6System Design 2Low-Level Design 1Behavioral 1
  • DP-based coding problemCoding
  • OS behavior on desktop icon click
  • First non-repeating element in a running listCoding
  • OS dependency of C/C++ vs Java
  • Pointers and Inheritance
  • Two nodes sum in binary treeCoding
  • Implement auto-completeSystem Design
  • OOP concepts with real-world examples
  • OS synchronization and deadlocks
  • Explaining complex conceptsBehavioral
  • Nearby restaurantsSystem Design
  • Cell state transition in 2D arrayCoding
  • Implement stack with extract maxCoding
  • Print binary tree in zig-zag orderCoding
  • Process management, memory reading, and DB indexingLow-Level Design
โ† Sahaj Software Solutions questions
  1. Interview questions
  2. Sahaj Software Solutions
  3. Cell state transition in 2D array
Codingeasy

Cell state transition in 2D array

Filed under Sahaj Software Solutions

The question

Given a 2D array filled with 0s and 1s, update cells such that a cell remains 1 only if 2 or 3 of its neighbors are 1, otherwise it becomes 0.

No write-up yet. Related questions below have one.

Related Sahaj Software Solutions questions

  • First non-repeating element in a running list
  • Two nodes sum in binary tree
  • Implement stack with extract max
โ† Nearby restaurantsImplement stack with extract max โ†’

Collected from public candidate posts and coding forums. Updated Nov 2026.