scala-spark-on-k8s-gcp-magic-square
(C) Ricardo Cristovao Miranda, 2020. This program solves a magic square puzzle using genetic algorythms. From the wikipedia, lets see what is what is a magic square: In recreational mathematics, a magic square is an arrangement of distinct numbers (i.e., each number is used once), usually integers, in a square grid, where the numbers in each row, and in each column, and the numbers in the main and secondary diagonals, all add up to the same number, called the βmagic constant.β A magic square has the same number of rows as it has columns, and in conventional math notation, "n" stands for the number of rows (and columns) it has. Here we use Spark written in Scala, ruuning on Kubernetes and using GCP buckets for persistence.