3. The Holocron Cipher [10 Points] Guided by an unknown pow…
3. The Holocron Cipher [10 Points] Guided by an unknown power whispering through the Force, Belman Grede wanders the desolate reaches of the galaxy, drawn to a forgotten Dai Bendu temple. There, he uncovers an ancient robot, CPP0, imbued with a mystical sentence-generation algorithm capable of decoding the Sith’s cryptic network patterns. With strategic brilliance inspired by ancient optimization techniques, Belman Grede embarks on a perilous quest to harness the robot’s arcane knowledge. As the Sith tighten their hold, Belman must unravel the Holocron network and fulfill the will of the mysterious power guiding him to restore balance to the Force… Let be the set of words that constitute CPP0’s vocabulary.Let be a constant such that no sentence will be longer than . Consider a sentence which is a string of words spoken by CPP0. As CPP0 is a robot, the first word spoken is always “Beepboop”. Thus, is “Beepboop”. Let denote the probability that a person would say sentence . Given conversation input from CPP0’s auditory sensors, CPP0 will generate a sentence
Read Details