Python LetuscrackonMarch 13, 2026 Milk Man and His Bottles A milkman serves milk in packaged bottles of varied sizes. The possible size of the bottles are {1, 5, 7 and 10} litres. He wants to supply…
Python LetuscrackonMarch 12, 2026 Diagonal Sum A set of numbers forming a matrix N*N is passed as input. The program has to print the sum of numbers along the diagonals. Input Format: The…
C LetuscrackonMarch 12, 2026 Find numbers such that A*B = C*D A set of numbers (atleast 4 numbers) will be passed as input. The program must find four numbers A,B,C,D such that A*B = C*D and print the…
Python LetuscrackonMarch 11, 2026 Largest & Smallest Digits Difference A number N is passed as the input. The program must print the difference between the largest and the smallest digits in the number. Input…
C Hephzibai EnstinonMarch 11, 2026 Alternate Repeat Pattern The program must accept a positive even integer N as the input. The program must print the desired pattern as shown in the Example…
C TCS CodeVita LetuscrackonMarch 10, 2026 Stone Game – Remove Last – TCS CodeVita Alice and Bob are playing a game called “Stone Game”. Stone game is a two-player game. Let N be the total number of stones. In…
C LetuscrackonMarch 10, 2026 Robot Ditch Catch-22 A robot is programmed to move forward F meters and backwards again, say B meters, in a straight line. The Robot covers 1 meter in T units of…
Python LetuscrackonMarch 9, 2026 Double Array Values Given N integers, the program must double the values and print them. Input Format:First line contains NSecond line contains N integers…
Python LetuscrackonMarch 9, 2026 Matrix – Inside Numbers Sum A set of numbers forming a matrix N*N is passed as input. The program has to print the sum of numbers which are not along the edges. Input…
Python LetuscrackonMarch 8, 2026 N Triangles Pattern The program must accept an integer N as the input. The program must print N triangles numbered from 1 to N based…