MTX Group Interview Question

Coding questions about trees and strings