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…
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…
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…
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…
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…
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…
LetuscrackonNovember 13, 2024 Word is Key – TCS NQT Question 3 One programming language has the following keywords that cannot be used as identifiers: break, case, continue, default, defer, else, for,…
LetuscrackonNovember 10, 2024 Oddly even– TCS NQT Question 2 Given a maximum of 100 digit numbers as input, find the difference between the sum of odd and even position digits Test Cases Case 1 Input:…
LetuscrackonNovember 9, 2024 A Sober Walk – TCS NQT Question 1 Our hoary culture had several great persons since time immemorial and king Vikramaditya’s Nava Ratnas (nine gems) belongs to this ilk.…
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…