Difficulty Levels

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

213
Total Problems

Python Program to Print All Vowels

Extract and print all vowels from a given string, or -1 if no vowels are present.

easy
42

Tree Shadow within Matrix

Count trees whose shadows fall within a rectangular matrix field based on sunlight direction

medium
42

Word is Key – TCS NQT Question 3

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

easy
41

Money with Baba

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

easy
42

Maximum Target Hits in Sequence

Find the longest consecutive sequence of successful target hits given a series of shooting scores

medium
42

Hare & Tortoise – 001

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

easy
42

Alphabet Count – Repeated String

Count occurrences of a specific alphabet in a string that has been repeated to reach a specified length

medium
41

Common Factors (X, Y) and (Y, Z)

Find and print common factors of (X, Y) and (Y, Z) in descending order, allowing duplicates

medium
42

Inverted L-Shaped Matrix

Print the elements of a square matrix in an inverted L-shape pattern row by row

medium
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

Function samePositionBitCount – CTS PATTERN

Count the number of positions where two integers have equal bits

medium
42
PrevPage 9 of 18Next