Problem 1970. Kaggle: Reverse Game of Life - Periods of Oscillators
84.0% Correct | 16.0% Incorrect
Last Solution submitted on Apr 18, 2023
Rafael S.T. Vieira on 4 Jul 2020
I recommend seeing this: https://en.wikipedia.org/wiki/Oscillator_(cellular_automaton)
In this problem, all he wants is how many steps are necessary for the automaton to repeat itself.
Solution CommentsShow comments
Problem Recent Solvers19
Numbers with prime factors 2, 3 and 5.
Find a subset that divides the vector into equal halves
Construct an index vector from two input vectors in vectorized fashion
More from this Author260
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!