C TCS CodeVita1 Min Read 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…
Python1 Min Read 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…
Java1 Min Read LetuscrackonMarch 5, 2026 JAVA – Constructor – Sum and Product The main method in Hello.java is as shown below. Define the class Calculator.java by filling in the code so that the…
Python2 Min Read LetuscrackonFebruary 26, 2026 Matrix Rotation – Anti Clock Wise A M*N matrix having M rows and N columns containing integer values is passed as the input. The matrix must be rotated R times in counter-clock…
C3 Min Read LetuscrackonFebruary 26, 2026 Forest Fire – TCS CodeVita Roco is an island near Africa which is very prone to forest fire. Forest fire is such that it destroys the complete forest. Not a single tree…
Java1 Min Read LetuscrackonFebruary 24, 2026 JAVA – Class – Constructor Plus Methods Definition The main method in Hello.java is as shown below. Define the class SimpleCalculator.java by filling in the code so that the…
Python1 Min Read LetuscrackonFebruary 24, 2026 Print Numbers – Frequency Based An array of N positive integers is passed as input. The program must print the numbers in the array based on the frequency of their…
LetuscrackonFebruary 22, 2026 Finding Sum – TCS CodeVita The program must accept N integers and an integer P as the input. The program must print the number of subsets of…
Java1 Min Read LetuscrackonFebruary 21, 2026 JAVA – Class – Static Method Definition The main method in Hello.java is as shown below. Define the class Marks.java by filling in the code so that the program accepts the marks in…
C Java Python2 Min Read LetuscrackonFebruary 20, 2026 Sort – Domain Names The program must accept the email addresses of N students as the input. The program must print the names of the email domains based…