C Java Python2 Min Read LetuscrackonJune 9, 2024 Matrix – Same Characters The program must accept a character matrix of size NxN as the input. The program must print YES if all the characters in the diagonals (both…
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 Restaurant – Lucky Numbers Discount Every day in a restaurant two numbers X and Y are considered lucky numbers. If the bill amount B is divisible by X, then X% discount is…
C Java Python1 Min Read LetuscrackonJune 9, 2024 Arrange Alphabets – Descending Order A string S (with only LOWER case alphabets and length from 3 to 100) will be passed as input. The program should print the alphabets in the…
C Java Python1 Min Read LetuscrackonJune 8, 2024 Maximum Value – Add or Product The program must accept N integers as the input. For each integer X among the given N integers, the program must print the…
Python1 Min Read LetuscrackonJune 8, 2024 Add Numbers – Base N Two numbers X and Y are provided with reference to base N. Add the numbers and print their sum with reference to base 10. Input Format: First…