Goldman Sachs | 30 Sep 2024 | Secure my conversations | Complete Solution & Logic

GoldmanSachs · Question · Posted Apr 2026

. Secure my conversations Problem Statement: Persons A and B uses an encryption based system for their conversation. Each conversation message is encoded from the source and decoded in the destination using a shared private positive number key known to each other. The algorithm is illustrated with an example. Input Format with explanation: Operation (1 for Encoding and 2 for Decoding) Input message Input private key Output Format with explanation: Output message Example 1: Input: 1 Open 123 Output: Oppeeen ...

The full answer & interview discussion are available to premium members.

Log in Create a free account