All Problems

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

215
Total Problems
215 results

Height Pattern Printing

Generate a graphical column chart using '#' and '-' characters based on a given list of integer heights.

medium
412

DBMS Interview Questions – Part 1

Calculate a student's score on a 20-question quiz with positive marks for correct answers and negative marks for incorrect ones.

easy
411

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
413

Swap Even Integers Pair

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

easy
412

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
411

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
412

Print "Hello world" in different languages

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

easy
45

String Reverse

Reverse the characters in a given string and print the result

easy
45

Convert KM/HR to M/S

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

easy
45

Sort N Strings – Descending Order

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

easy
47

Pattern Printing – String Characters

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

easy
46

Skip Lunch Count

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

easy
45
Page 1 of 18Next