Difficulty Levels

Choose your challenge. Start easy and work your way up.

215
Total Problems

Word is Key – TCS NQT Question 3

Determine if a given word is a reserved keyword in a specific programming language

easy
425

Money with Baba

Calculate the initial amount of money Baba had before donating to beggars

easy
429

Hare & Tortoise – 001

Determine the winner of a magical race between hare and tortoise based on power points and sleep mechanics

easy
442

Reverse Order – Print multiples of X from N to M

Print all numbers divisible by X in descending order from N to M (inclusive)

easy
421

Function decimalToBinary – CTS PATTERN

Fix the logical error in the decimalToBinary function so it correctly prints the binary representation of a given integer.

easy
423

Reverse Number

Given a number N, reverse its digits and print the result

easy
430

Function printColor – CTS Pattern

Fix the logical errors in a switch-case function to correctly map numbers to color names and handle invalid inputs.

easy
427

Function printNPattern – CTS PATTERN

Print a descending staircase pattern of a given number N

easy
429

Substring Printer c-python convertion

Convert a C program that prints the last X characters of a string to equivalent Python code

easy
420

Cognizant Interview Preparation

Comprehensive guide to Cognizant interview preparation including technical and HR interview questions

easy
420

Boundary Trees

Calculate the final height of trees after M months where boundary trees grow at double the rate of inner trees

easy
423

Factor Count – CTS PATTERN

Count the number of positive divisors (factors) of a given integer.

easy
434
PrevPage 6 of 9Next