Count the Chaos

Imagine, you have an array of integers of size N. At each index ...

Easy Prime!

There are N numbers in an array. You will have Q queries. In eac...

Another Query on String

You are given a string S (of length n) consisting of alphabets o...

Crayons

Five friends A, B, C, D and E has come to a shop to buy crayons ...