Difficulty Levels

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

213
Total Problems

Money with Baba

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

easy
42

Hare & Tortoise – 001

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

easy
42

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
41

Function decimalToBinary – CTS PATTERN

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

easy
42

Reverse Number

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

easy
42

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
42

Function printNPattern – CTS PATTERN

Print a descending staircase pattern of a given number N

easy
42

Substring Printer c-python convertion

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

easy
42

Cognizant Interview Preparation

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

easy
41

Boundary Trees

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

easy
42

Factor Count – CTS PATTERN

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

easy
42

Pattern Printing – Half Pyramid Using Asterisk

Print a half pyramid pattern using asterisks (*) with N rows, where each row contains increasing number of asterisks separated by spaces.

easy
42
PrevPage 6 of 9Next