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…
Python LetuscrackonMarch 8, 2026 Reverse Even Integers The program must accept N integers as the input. The program must print all the even integers among the N integers in reverse order…
C LetuscrackonMarch 7, 2026 Find the count of distinct numbers A set of numbers will be passed as input. The program has to print the count of distinct numbers in it. Input Format:The first line contains…
Python LetuscrackonMarch 7, 2026 Difference between sum of odd and even digits A number N is passed as input. The program must find the difference between sum of odd and even digits in the number and print the difference.…
C Python LetuscrackonMarch 6, 2026 Left Number Twice Right A set of N numbers (separated by one or more spaces) is passed as input to the program. The program must identify the count of…