In c++,
Purpose: Use a Priority_Queue to simulate a Binary_Tree
Techniques/Structures: Polymorphism Priority_Queue
Step1: Create an encrypted 2-bit character for each alphanumeric letter in the alphabet based on the Morse 2-bit encryptionscheme. See the QueueTreeEncryption.pdf for the technical details.
Step2: Using a priority_queue, in one of the examples, or one youwrite yourself, place the encrypted character into thepriority_queue in ascending order.
Step3: Using the PriorityQueue-Tree algorithm as illustrated in theQueueTreeEncryption.pdf, encode a text file of your choice. Thisstep will produce an encrypted binary file.
Step4: Decrypt your encrypted binary file by walking thePriorityQueueTree and demonstrate it decrypts the characters backto the original text.
Expert Answer
An
PayPal Gateway not configured
PayPal Gateway not configured