Count pair of strings whose concatenation has every vowel
Given an array arr[] of N strings. The task is to find the count of all possible pairs of strings such that their concatenations has… Read More »
Given an array arr[] of N strings. The task is to find the count of all possible pairs of strings such that their concatenations has… Read More »
Given an array arr[] of integers of size N, the task is to find the closest pair in the given array such that one element… Read More »
Given an array arr[] of N positive integers. The task is to find the minimum LCM of all subarrays of size greater than 1. Examples: … Read More »
Given an array arr[] of N positive integers, the task is to find the largest strictly increasing subsequence of arr[] such that the indices of… Read More »
Array: An Array is a collection of items stored at contiguous memory locations. The idea is to store multiple items of the same type together.… Read More »
Given an array prices[] which denotes the prices of the stocks on different days, the task is to find the maximum profit possible for buying… Read More »
Given a string str, the task is to convert the given string into the number without using any inbuilt function. Examples: Input: str = “985632”… Read More »
Given an array arr[] of positive integers, the task is to find the permutation of the array such that the sum of adjacent elements is… Read More »
Given an array arr[] and K subarrays in the form (Li, Ri), the task is to find the maximum possible value of . It is… Read More »
Given a sorted array arr[] and an integer K, the task is to check if there exists a ceil of number K divided by some… Read More »
Given an array arr[] of N positive integers, the task is to print the length of the longest subsequence of the array such that all… Read More »
Data Types Data-type in simple terms gives us information about the type of data. Example, integer, character, etc. Data-types in C language are declarations for the… Read More »
Array within a Structure A structure is a data type in C/C++ that allows a group of related variables to be treated as a single… Read More »
Given an array arr[], the task is to find the maximum score of deleting an element where each element of the array can be deleted… Read More »
Given an integer N, the task is to count the numbers up to N having an absolute difference of at most K between any two… Read More »