## Minimum splits required to convert a number into prime segments

Given a number in the form of a string s, the task is to calculate and display minimum splits required such that the segments formed… Read More »

- What is Competitive Programming and How to Prepare for It?
- Find a pair (n,r) in an integer array such that value of nPr is maximum
- Minimum increment or decrement operations required to make the array sorted
- Longest Increasing Subsequence using Longest Common Subsequence Algorithm
- Color all boxes in line such that every M consecutive boxes are unique
- Print nodes having maximum and minimum degrees
- Largest sub-matrix with all equal elements
- Minimize the cost of partitioning an array into K groups
- Maximum length sub-array which satisfies the given conditions
- Find a pair (n,r) in an integer array such that value of nCr is maximum
- Maximize the Expression | Bit Manipulation
- Minimum number of additons to make the string balanced
- Range maximum query using Sparse Table
- Arrow operator -> in C/C++ with Examples

Given a number in the form of a string s, the task is to calculate and display minimum splits required such that the segments formed… Read More »

Given Xi and Yi co-ordinate of N distinct points in the 2-D Plane, the task is to count the number of squares that can be… Read More »

Given a list of ranges with starting and end value, the task is to find the minimum number of ranges that are required to be… Read More »

Prequisites: Equation of circle when three points on the circle are given, Convex Hull Given an array arr[][] containing N points in a 2-D plane… Read More »

Given a composite number N, the task is to find the largest composite number that divides N and is strictly lesser than N. If there… Read More »

Given an array arr[] of N integers. The task is to find the number of inversion. Two elements arr[i] and arr[j] form an inversion if… Read More »

Given strings str1 and str2. The task is to find that if str1 is substring in shuffled form of str2 or not. Print “YES” if… Read More »

Developers and students solve a lot of coding questions of data structures and algorithms but most of them don’t understand the importance of it. A… Read More »

You may have heard about Jack Dorsey (Twitter), Mark Zuckerberg (Facebook), Kevin Systrom (Instagram) and many others. Right, these are one of the top programmers… Read More »

Every coder wants to be one of the best! Yes, it’s true. But do you ever think how can someone be considered as the best… Read More »

Given an integer array arr[], the task is to find the length of the longest subarray with an equal number of odd and even elements.… Read More »

The primary goal of a compiler is to reduce the cost of compilation and to make debugging produce the expected results. Not all optimizations are… Read More »

Given a binary string str of length N and an integer K, the task is to find the minimum number of steps required to move… Read More »

Given a number N, the task is to count all possible combinations of pairs formed using adjacent elements. Note: If an element exists already in… Read More »

Given an array arr[] of N unique positive integers and an element X, the tasks is to count the total possible number of subsets of… Read More »