C TCS CodeVita2 Min Read LetuscrackonFebruary 7, 2025 King Placement – TCS CodeVita King Placement – TCS CodeVita: This is a typical chess game where your opponent first places a random number of Knights, Rooks, Bishops…
C Python TCS CodeVita3 Min Read LetuscrackonFebruary 6, 2025 Iterate Base – TCS CodeVita Iterate Base – TCS CodeVita: The program must accept a number N in any base from 2 to 36. We can identify the base that would…
C Dynamic Programming Python TCS CodeVita4 Min Read LetuscrackonFebruary 4, 2025 Chakravyuha – TCS CodeVita Chakravyuha – TCS CodeVita: During the battle of Mahabharat, when Arjuna was far away in the battlefield, Guru Drona made a Chakravyuha…
Python TCS CodeVita2 Min Read LetuscrackonDecember 9, 2024 Grooving Monkeys – TCS CodeVita There are N monkeys in a circus. They dance in a circular formation, very similar to a Gujarati Garba or a Drum Circle. The dance…
Java Python TCS CodeVita2 Min Read LetuscrackonDecember 7, 2024 Bottle Necks – TCS CodeVita The program must accept the radii of N bottles as the input. Once a bottle is enclosed inside another bottle, it ceases to be…
C Python TCS CodeVita2 Min Read LetuscrackonDecember 3, 2024 Dole Out Cadbury – TCS CodeVita In a school, a teacher is assigned to distribute the Cadbury to the students for Independence Day. The teacher has a box full of Cadbury with…
C TCS CodeVita2 Min Read LetuscrackonDecember 2, 2024 Count of Inversions – Base 6 – TCS CodeVita Given a sequence of distinct numbers a1, a2, …. an, an inversion occurs if there are indices i < j such…
C TCS CodeVita1 Min Read LetuscrackonNovember 26, 2024 Super ASCII String Checker – TCS CodeVita The program must accept N string values as the input. For each string S among the N string values, the program must…
C TCS CodeVita3 Min Read LetuscrackonNovember 24, 2024 Christmas Tree Pattern – TCS CodeVita John is a pure Desi boy. And his one and only dream is to meet Santa Claus. He decided to decorate a Christmas tree for Santa on coming…
C Dynamic Programming Java Python TCS CodeVita5 Min Read LetuscrackonJune 12, 2024 Dice Game – TCS CodeVita Tanu and Shree are friends. They love playing dice games. They also like to experiment and invent new things. They have invented a mechanism…