Game Of Life 🪦💐| Daily LeetCode Challenge | Day 12 | Coding Interview

This question has been marked as medium level on leetcode which in reality should be easy. The reason is that the best complexity you can achieve is O(m*n) where m is the number of rows and n is the number of columns and the simplest brute force is giving exactly that (The solution was faster than 100% of other submissions!).

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Ganesh Prasad

Ganesh Prasad

Writer (100K+ views) | Software Engineer | C++ veteran, 💜 Dart