Google interview question

Cryptography decoding using trees and graphs