Adam Number

April 19, 2018
Adam Number or Not A number is said to be an Adam number if the reverse of the square of the number is equal to the square of the reversed number.for example 12 is a adam number because the reverse of the square...

Compress a string

April 19, 2018
Compress a string Write a program to compress the given string  Sample input : aabbbccccddddd Sample output : a2b3c4d5 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24...
N th minimum element in a array To find the 'N' th minimum element in the given array Sample input : array length : 5                          array element : 10 5 3...
WhatsApp now allows you to re-download accidentally deleted photos and videos on Android A new minor WhatsApp feature has been silently added to updates between 2.18.106 and 2.18.110. What this feature does is that it allows the WhatsApp user to download old media files...
The list of 65th National Award winners have been unfurled... Village Rockstars grabbed the attention of many and late actress Sridevi got the Best Actress award! Take Off, Baahubali 2, Bhayanakam, Irada, Walking with the Wind and Nagar Kirtan were the other notable...
Square Matrix-Corner Elements Sum A square matrix of size N*N is passed as the input.The program must calculate and print the sum of the elements in the corners. Sample Input: Enter the order N of matrix : 3 Enter the matrix elements :...
Palindrome Missing Alphabet  String S which is a palindrome is passed as the input. But just one alphabet is missing in S.The program must print the missing alphabet A. Note: The first alphabet of S will always be present. Sample Input 1: malayaam...
Minimum Absolute Difference in an Array Given an array of integers,find and print the minimum absolute difference between any two elements in the array. for example given the array A=[-2,2,4] we can create 3 pairs of numbers [-2,2],[-2,4] and [2,4].The difference for these...

Reverse Vowels

April 12, 2018
Reverse vowels in a given string          Given a string,task is to reverse the vowels of the string. Sample Input 1: jobat update Sample Output 1: jebat updato Sample Input 2: hello world Sample Output 2: hollo werld 1 2...
Reliance Jio has introduced a cricket season prepaid pack that will allow cricket lovers to get access to live matches of IPL (Indian Premier League) on mobile and stream almost every live match throughout the duration of 51 days starting April 7 You...