Given m*n matrix where m defines number of rows and n defines number of columns. Your job is to check whether a number is consecutive for 3 times either...
Given a special set of numbers and a special sum. Find all those combinations from the given set, equaling the given sum Input : First Input : Set of...
Given a row/column count and a matrix, your job is to find those possible 2*2 matrix where each should follow the given rule : -> Each element of matrix...
You are given a list of numbers from 1 to 9, in which each word is seperated by ‘,’. Your job is to find the sum of two numbers....
You are provided with a string of numbers, check whether it is a palindrome or not. If it is not a palindrome, then, reverse the string, add it to...
You are provided with a mathematical expression, your job is to solve this expression. Input : First Input : String Output : Result Sample Testcases : I/P 1: (4+3)*(12/6)
You will be given a number in the form of string, extract out digits at odd places, square & merge them. First 4 digits will be the required OTP....
You will be given a string of characters and special characters, you task is to reverse the string leaving special characters in same place. Input : First Input :...
Find longest substring of unique characters which is case insensitive. For “ABDEFGABEF”, the longest substring are “BDEFGA” and “DEFGAB”, with length 6. For “BBBB”, the longest substring is “B”,...
For a given list of numbers, find its factors and add the factors. Then if the sum of factors is present in the original list, sort it and print...
