Find Maximum Chain Activations | Bytedance Interview Question