Posts by Palani M
Author Biographical Info: Avid competitive programmer. Love problem solving. Machine Learning Enthusiast.
In this tutorial, we will be solving a popular algorithmic challenge. This question can be found on leetcode as TwoSum. We will be solving this Two Sum problem in C++. Two Sum Prob.... Read More
In this tutorial, we will be solving a Leet code weekly contest problem in which we are required to rearrange the spaces between a given string text using Python programming. Assum.... Read More
In this tutorial, we will be writing a program to calculate sum of the diagonal elements of a matrix in C++. Diagonal Matrix Sum in C++ This question was a part of the Leetcode Biw.... Read More
In this tutorial, we will learn how we can traverse through all diagonals in a 2D matrix in Python. Find the maximum sum of all diagonals in matrix Python This question is based on.... Read More
In this article, we will learn about memory leaks in C++. We will see a basic introduction about memory allocation and its types. We will then proceed to learn about memory leaks i.... Read More
In this tutorial, we will learn how to calculate the digital root of a given long number i. We will be using a recursive approach for the same. We will learn what a digital root me.... Read More
In this tutorial we will learn about std::bsearch function and how it works in C++. As the name suggests, it stands for binary search. We will explain how binary method of searchin.... Read More
In this tutorial, we will learn how to find the number of sub-arrays with a sum exactly equal to a given number in C++. We will not be discussing how to find one such sub array giv.... Read More