In today’s world, we are living in an era of a new digital world where Artificial Intelligence and Machine Learning have reshaped businesses and society.… Read More

Social Network Analysis is a fascinating concept and it is being used in big companies like Google, Facebook, Amazon, etc. It deals with the networks,… Read More

Given two stacks stack1[] and stack2[] of size N and M respectively and an integer K, The task is to count the maximum number of… Read More

Given 1 to N vertices of a non-cyclic undirected graph with (N-1) edges. The task is to assign values to these edges so that the… Read More

Given a sequence of numbers in the form of a linked list lis. Find the length of the Longest Increasing Subsequence(LIS) of the given Linked… Read More

Given an array arr[] containing N positive integers, the task is to maximize the array sum when after every sum operation all the remaining array… Read More

Given an integer N. The task is to find the sum of the first N terms of the series 5, 11, 19, 29, 41, .… Read More

Given an array arr[] of even length N and an integer K denoting the range of numbers in the array i.e. the numbers in the… Read More

Given an array of pairs arr[] of size N where the first value of all the pairs are distinct. For each pair of the given… Read More

Given a binary string str of length N, the task is to count the maximum number of adjacent pairs of form “01” or “10” that… Read More

Floyd’s cycle finding algorithm or Hair-Tortoise algorithm is a pointer algorithm that uses only two pointers, moving through the sequence at different speeds. This algorithm… Read More

String class stores the characters as a sequence of bytes with the functionality of allowing access to the single-byte character. There are several ways to… Read More

Given string str, the task is to check if this string str consists of valid English words or not. A string is known as a… Read More

This article focuses on discussing the following topics in detail- Formatted I/O Functions. Unformatted I/O Functions. Formatted I/O Functions vs Unformatted I/O Functions. Formatted I/O… Read More

Given a positive integer, N. Find the sum of the first N term of the series- 0.1, 0.11, 0.111, 0.1111, ….till N terms Examples: Input:… Read More

Given an integer N, the task is to find the Nth term of the series 3, 8, 15, 24, . . .till Nth term Examples:… Read More