Let us consider an example to understand the problem better,

Let us consider an example to understand the problem better,

Let us consider an example to understand the problem better,

Let us consider the following example to get a clearer idea of this problem,

Let us consider the following example to get a clearer idea of this problem,

In our previous blog, we already started with the introduction to one of the problems that we are going to discuss. We will try to discuss further about the topics involved.

Let us revisit the problem statement,

Let us consider the following example to get a clearer idea of this problem,

In our previous blog, we already started with the introduction to one of the problems that we are going to discuss. We will try to discuss further about the topics involved.

Let us revisit the problem statement,

This problem can be contemplated as an extension to finding the diameter of a binary tree problem.

Let us consider an example to understand what we are actually seeking,

In our previous blog, we already started with the introduction to one of the problems that we are going to discuss. We will try to discuss further about the topics involved.

Let us revisit the problem statement,

The example given below helps us visualise the problem,

Let us revisit the problem statement,

This is a pretty standard problem and involves some interesting “good-to-know” concepts and hence we felt like discussing it here.

I have recently been trying to solve “2021 Ateneo De Manila Senior High School Digitab Programming Contest” problems. One can find the list of problems here. One of the problems that I have found very interesting is “Biodiverse Subsequence”. Thus, I felt that it would be fun to discuss it.

The problem is not misleading and gives the hints towards applying the concepts of combinatorics.

Since the key idea of this problem is to consider all the subsequences which have at least one appearance of all the integers from 1 to K, we can try to reach the solution using…

Sport Programmer | Software Development Enthusiast | Problem Solver | Philonoist