### Kick Boxing | PrepBytes

Prepbuddy is a kickboxer he trains in the gym for $T$ consecutive days. He spends $N$ minutes training in the gym every day $N$ can be assumed as different values for different days. For each minute of the $N$ minutes of his practice on the $i th $...

### Bipartite Web | PrepBytes

Itsy Bitsy Spider is renovating his web design. His current web design is in the form of an $n$-ary tree. He wants to modify it by adding edges to this tree in such a way that the resulting graph is bipartite. He wants you to find out the maximum...

### How many? | PrepBytes

How Many? Given an array of numbers $a 1$ to $a N$ and $q$ queries consisting of a single positive integer $x$ each. For each query you have to find the number of subarrays of the given array such that $x$ is the greatest common divisor of all the...

### Weighted Pairs | PrepBytes

Given an array $A$ of size $N$ consisting of non-negative integers array can have multiple appearances of a single value also the task is to find the maximum number of pairs that can be formed such that the sum of each of these pairs is equal....