User profile: sharbu

User info
User name:sharbu
History
Joined:
Number of posts:16
Latest posts:

Largest group formed by combinations of pairs - Java
Sample Input 1: 5 6 2 2 3 3 1 1 2 3 1 4 3 4 first line contains N and C. N is the identi...

Time Limit Exceeded - Explanation needed
Select a pair of adjacent integers and remove the larger one of these two. This decreases the array ...

Find the missing letter in the palindrome
A string which is a palindrome but has one letter missing will be passed as input. The program must ...

count of longest consecutive elements in an array
Eg. I U Z X K K K K K H H H Q H H H H H H H output: 7

Count the number of duplicate elements in an array-C
Figured it out :) [code] #include<stdio.h> #include <stdlib.h> int main() { int arr[1000],temp,i,...