C1 Min Read LetuscrackonFebruary 17, 2025 Toggle Consonants Adjacent to Vowels The program must accept a string S containing only alphabets both in lower and upper case. The program must toggle the case of the consonants…
C Python1 Min Read LetuscrackonJanuary 1, 2025 Increase By Adjacent Difference Increase By Adjacent Difference: Given N numbers, the program must increment a given number by the absolute difference between it’s…
C Java Python1 Min Read LetuscrackonJune 12, 2024 Find Two Largest Adjacent Digits In the fascinating world of numbers, various patterns emerge when we closely observe them. An interesting pattern is to identify two adjacent…
C Java Mathematical Programming Python2 Min Read LetuscrackonJune 12, 2024 Find Largest Difference Between Two Adjacent Digits In digital mathematics and number analytics, a frequently encountered problem is the need to understand variations within a given number. This…
C2 Min Read LetuscrackonJune 10, 2024 Adjacent Even Digits The program must accept an integer N as the input. The program must print the digits surrounded by even digits on both sides. The first and…
C1 Min Read LetuscrackonJune 9, 2024 Same Adjacent – Asterisks The program must accept a string S as the input. The program must print YES if the adjacent characters of each asterisk (*) are same. Else the…
C1 Min Read LetuscrackonJune 9, 2024 2D Matrix – Elements Adjacent Sum Given a matrix of R rows and C columns, for each element print the sum of the adjacent elements.Input Format:The first line contains RThe…
C Python1 Min Read LetuscrackonJune 9, 2024 Array Element Adjacent Sum Given an Array of length N, the program must print the sum of adjacent numbers of elements present in the array.Input Format:First line…
Python1 Min Read LetuscrackonJune 5, 2024 Both Adjacent Elements – Odd or Even Both Adjacent Elements – Odd or Even: Given an array of N positive integers, print the positive integers that have both the adjacent…