SentinelOne interview question

Tree and dynamic programming questions