Word is Key – TCS NQT Question 3
Determine if a given word is a reserved keyword in a specific programming language
Choose your challenge. Start easy and work your way up.
Determine if a given word is a reserved keyword in a specific programming language
Calculate the initial amount of money Baba had before donating to beggars
Determine the winner of a magical race between hare and tortoise based on power points and sleep mechanics
Print all numbers divisible by X in descending order from N to M (inclusive)
Fix the logical error in the decimalToBinary function so it correctly prints the binary representation of a given integer.
Given a number N, reverse its digits and print the result
Fix the logical errors in a switch-case function to correctly map numbers to color names and handle invalid inputs.
Print a descending staircase pattern of a given number N
Convert a C program that prints the last X characters of a string to equivalent Python code
Comprehensive guide to Cognizant interview preparation including technical and HR interview questions
Calculate the final height of trees after M months where boundary trees grow at double the rate of inner trees
Count the number of positive divisors (factors) of a given integer.