GitHub repository: ricardomiranda/scala-spark-on-k8s-gcp-magic-square
Primary language: Scala
Description: (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.