RoboMQ interview question

trees and dynamic programming questions were asked