LeetCode Question – Understanding the question – Let’s understand the question with some simple examples before we proceed with the code. You may skip this section if you already do – Before we begin, let’s break down the question. The question states that we will be passed a “Binary Tree” and an “answer array“. Let’s…