C1 Min Read LetuscrackonJune 9, 2024 Robot – Stair Climbing There are N stairs to be climbed in a building. A robot can take only S different leaps each containing certain distinct…
C Java Python2 Min Read LetuscrackonJune 9, 2024 Split & Check Prime Integers The program must accept an integer N as the input. The program must split the integer N into two parts and print them if both are prime…
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…