Java1 Min Read LetuscrackonJune 10, 2024 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.…
Dynamic Programming Java2 Min Read LetuscrackonJune 10, 2024 Street Travel Count Mr.X has a bike and is travelling in a town which has N horizontal (West to East direction) and N vertical (North to South…
C Java Python2 Min Read LetuscrackonJune 10, 2024 Rotated Triangle Pattern Rotated Triangle PatternGiven an integer N, print the pattern as given in Example Input/Output section.Note: N is always an odd number.…
C Java1 Min Read LetuscrackonJune 10, 2024 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…
Java1 Min Read LetuscrackonJune 10, 2024 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…
Java1 Min Read LetuscrackonJune 9, 2024 Corona Virus An integer matrix of size RxC containing only the values 0, 1 and 2 is given as the input to the program.…
C Java Python2 Min Read LetuscrackonJune 9, 2024 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…
Java1 Min Read LetuscrackonJune 9, 2024 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…
Java2 Min Read LetuscrackonJune 9, 2024 Solve Sudoku The program must accept an integer matrix of size 9×9 representing a sudoku as the input. The sudoku matrix contains the…
Java2 Min Read LetuscrackonJune 9, 2024 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…