All Problems

Master data structures and algorithms with our curated collection of coding challenges.

215
Total Problems
215 results

Oddly even– TCS NQT Question 2

Calculate the absolute difference between the sum of digits at odd and even positions in a large number

easy
41

Python Program To Print Fibonacci Sequence

Generate and print the first N terms of the Fibonacci sequence starting with 0 and 1

easy
42

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
PrevPage 9 of 18Next