All Problems

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

213
Total Problems
213 results

Sort based on Weight

Sort N integers based on their computed weight, where weight is determined by perfect square, multiple of 4 and divisible by 6, and even number conditions

medium
41

Swap Even Integers Pair

Swap every pair of even integers in an array while keeping odd integers unchanged

easy
40

Forest Fire – TCS CodeVita

Calculate the minimum time required for fire to spread from an initial tree to all trees in a forest, spreading to all 8 adjacent trees every minute

medium
40

While Loop in different programming languages

Compare and understand while loop syntax and behavior across C, C++, Java, Python, JavaScript, PHP, and Go programming languages

easy
40

Print "Hello world" in different languages

Create a program that prints 'Hello World' in multiple programming languages

easy
40

String Reverse

Reverse the characters in a given string and print the result

easy
42

Convert KM/HR to M/S

Convert a speed value from kilometers per hour to meters per second with specific precision requirements

easy
40

Sort N Strings – Descending Order

Sort N given strings in descending lexicographical order and print them line by line.

easy
40

Pattern Printing – String Characters

Print a pattern where each character of the input string is repeated on successive lines based on its position.

easy
41

Skip Lunch Count

Count the number of days an employee skips lunch based on breakfast timing after 11:00 AM

easy
41

Split String & Sort

Split an even-length string into two equal parts and sort them in ascending order.

easy
42

New ATM Design – TCS CodeVita

Design an ATM that dispenses maximum number of currency notes for student withdrawals with limited denominations and note counts.

medium
40
Page 1 of 18Next