I wrote a function to solve a problem in Java, but it’s still too brute force, and I’d like to optimize in terms of runtime. Link to the description of the problem. The input consists of two lines: a fragment of plaintext, preceded by the message that is encrypted using some unknown character-to-character mapping. TheRead more