C Python2 Min Read LetuscrackonJune 10, 2024 Matrix – Inverted L & Reverse L The program must accept an integer matrix of size NxN as the input. The program must print the layers of the matrix based on the…
C1 Min Read LetuscrackonJune 10, 2024 Pattern – Asterisk Edge Given a positive integer value N as input, print the pattern as in the Example Input/Output section. The outer edges must be represented by…
C1 Min Read LetuscrackonJune 10, 2024 C – Functions – Vowel Count A string is passed as input. The program must print the count of vowels. Fill in the lines to implement the function countVowels. Boundary…
Java1 Min Read LetuscrackonJune 10, 2024 Two Strings – L Joint Given two strings S1 and S2, where the last letter of one of the strings is same as the first letter of the other string, print the output as…
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.…
C1 Min Read LetuscrackonJune 10, 2024 Five Numbers – Number without Pair Five numbers a,b,c,d,e are passed as input to the program. Among these 5 numbers, 2 pairs are present and one is without pair. Print that…
C1 Min Read LetuscrackonJune 10, 2024 Product – Swap Unit Digits The program must accept two integers X and Y as the input. The program must print the product of X and Y after swapping their unit digits as…
C1 Min Read LetuscrackonJune 10, 2024 Pattern – Half Pyramid Reverse Given a positive integer value N as input, print the pattern as in the Example Input/Output section. Input Format:The first line contains N.…
C Dynamic Programming2 Min Read LetuscrackonJune 9, 2024 String & Asterisks Zig-Zag Pattern The program must accept a string S and an integer N as the input. The program must form a character matrix of size NxN with the asterisks (*).…
C1 Min Read LetuscrackonJune 9, 2024 Distance Travelled + or – The program must accept a string S representing the direction of movement as the input. The string S contains only the…