from Medium11 months agoMy solution of this is to naivly simulate the progress of the whole tournament. There are 3 basic situationsMediumhttps://medium.com/@horowitz042/leetcode-1688-in-scala-b3ed542dae9f Read at Medium #tournament #matches #recursive approach Collection [| ... ]