Introduction  Countless times, we have heard our Maths teachers specify different methods for solving a particular problem. The goal is to use short and easy techniques instead of lengthy, complicated ones.  Likewise, while writing code, it is a good practice ...

Introduction “The most effective techniques are those that are simple and well-executed,” in Data Structures and Algorithms, the two pointer technique is one of them. Two Pointers is a pattern in which two pointers iterate across the data structure until ...

Introduction The Fibonacci sequence is a sequence in which each number is the sum of the preceding two numbers. By default, the first two numbers of a Fibonacci series are 0 and 1.  In mathematical terms, the sequence Fn of ...

Introduction Reversing a string is an important problem that is famous across many competitive coding problem banks. Before that, what is a string? A string is a set of characters stored in an array, or we can also define it ...

Introduction Graph algorithms are always quite intimidating to start with but are pretty easy to comprehend if you get the hang of it. We will discuss here one such beautiful algorithm to find the Minimum Spanning tree of a given ...

Introduction Mathematics and Coding go hand in hand. There is no coding problem that cannot be solved by mathematical algorithms and similarly there is no mathematical problem that cannot be solved by coding constructs. There are many fields of mathematics ...

Introduction Object-Oriented Programming or OOP models can easily use or modify how programs and data interact with other objects. OOP Systems or OOPS make it easy to define the method during runtime and allow a diverse set of implementations. OOP ...

Introduction Reversing a number implies that the value of the unit of a given number will become the nth digit value of the number if it is n digits long, and the tens digit number will become (n-1)th place value ...

Introduction Are you looking for or dreaming of cracking jobs in top product-based companies like Amazon, Flipkart, Google, etc? Then you must know that competitive coding and data structures are quintessential topics to master, as they add a lot of ...

Introduction Almost everybody loves binge-watching Netflix, so let’s take the example of a show, let’s say, F.R.I.E.N.D.S. When the writers of the show first created it, they started by creating season one. Later on, as the need arose due to ...