Introduction This is our last article in the series on, “How to Master in Pattern Problems”. If you are already familiar with the basic pattern problems and Intermediate level pattern problems, proceed further. If not,  please check out the articles on ...

Introduction In this article, we are going to dive a little deeper into discussing, How to Master in Pattern Problems. If you are already familiar with the fundamental pattern problems, then proceed further. If not, then please check out the ...

Introduction Pattern Problems are the most asked question during the Interviews. Understanding the fundamentals of Patterns, one can solve any random Pattern Problem. In this lesson, we’ll be understanding the Basic Pattern Problems. Before moving further, we have to recognise ...

Introduction  We must’ve seen the rainbow and wondered how beautiful it is. The pattern of colours starts with red on the outside and changes through orange, yellow, green, blue, indigo to violet on the inside. So what is precisely a ...

Introduction In medieval times, mighty rulers would expand their kingdoms by using a principle called divide and conquer. But have you ever wondered why their methods were so effective? It was because dividing a large territory into smaller ones and ...

Introduction Almost everyone enjoys a tasty slice of cake every now and then, but have you ever thought of baking one? To bake a cake, we will first need a recipe. In this recipe, the proper measurements of each ingredient ...

Introduction The scanf() function is a widely used function in C/C++. Although the syntax to use it is simple, it is important to understand some areas where its usage would require careful handling. One such area is when fgets() is ...

Introduction Prime Factorisation Method is the method used to represent any number as the product of all prime factors of a given number. Prime numbers mean numbers with only two factors, one and the number itself.  For example, numbers such ...

Introduction Fibonacci series of numbers is a series of numbers formed by the addition of the preceding two numbers. The term ‘Fibonacci’ for such a sequence of numbers was coined in the 12th century by Leonardo Fibonacci, who was stumbled ...

Introduction A frequently asked question by Amazon, Paytm, and many other Product based companies is Subarray with given sum, “Given an unsorted array of integers, and an integer k. The task is to find whether there exists a subarray(positive length) ...