## Absolute distinct count in a Linked List

Given a Linked List consisting of integers, the task is to print the number of distinct absolute values present in the Linked List. Examples: Input:… Read More »

- Count of distinct Primonacci Numbers in a given range [L, R]
- K most occurring strings
- Count of array elements whose order of deletion precedes order of insertion
- Minimum distance between any most frequent and least frequent element of an array
- Lexicographically smallest array formed by at most one swap for every pair of adjacent indices
- Absolute distinct count in a Linked List
- Find pairs in array whose sum does not exist in Array
- Check if each element of an Array is the Sum of any two elements of another Array

Given a Linked List consisting of integers, the task is to print the number of distinct absolute values present in the Linked List. Examples: Input:… Read More »

Given two arrays A[] and B[] consisting of N integers, the task is to check if each element of array B[] can be formed by… Read More »

Given a range [L, R], the task is to count the Primonacii Number present in that given range. Primonacii numbers are the part of Primonacii… Read More »

Given an initial array, A[] and a final array B[] both of size N containing integers from the range [1, N], where A[] represent the… Read More »

Given an array arr[] of N strings and an integer K, the task is to print K strings which occurred the most number of times… Read More »

Given an integer array arr[] of size N, the task is to find the minimum distance between any most and least frequent element of the… Read More »

Given an array arr[] consisting of N positive integers, the task is to print all pairs of array elements whose sum does not exist in… Read More »

Given an array A[] of length N, the task is to find lexicographically smallest array by swapping adjacent elements for each index atmost once. Thus,… Read More »

Given a string str of lowercase English alphabets and an integer m. The task is to count how many positions are there in the string… Read More »

Given a string str, the task is to make the string empty with the given operation. In a single operation, you can pick some characters… Read More »

Given an array arr[], the task is to find the sum of all those elements from the given array whose square root is present in… Read More »