Java

Java

JavaF

Numbers – Range Count

Given N distinct integers, the program must print the number of ranges R present. A range is defined as two or more consecutive integers.…
JavaF

Palindrome Missing Alphabet

Problem Statement :String S which is a palindrome is passed as the input.But just one alphabet A is missing in S. The program must print the…
JavaF

First and Last Odd Digits

Given N positive integers, the program must print the integers if the first and last digits are odd digits. Boundary Condition(s):1 <= N…
JavaF

Corona Virus

An integer matrix of size RxC containing only the values 0, 1 and 2 is given as the input to the program.…
PythonF

Fill the Underscores

The program must accept a string S containing underscore(s) and N string values as the input. A group of consecutive underscores in the string…
JavaF

Subtract Largest Integer

The program must accept N positive integers as the input. The program must subtract the integers from the largest integer among the N integers…
JavaF

Solve Sudoku

The program must accept an integer matrix of size 9×9 representing a sudoku as the input. The sudoku matrix contains the…
JavaF

Sudoku Validity

Given a 9×9 sudoku the program must evaluate it for its correctness. The program must check both the sub matrix correctness and the entire…