All Problems

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

215
Total Problems
215 results

Multiple of N till divisible by X

Find multiples of N starting from N*1 and stop when a multiple is divisible by X

medium
43

Print except multiples of N

Print all numbers in a given range [A, B] that are not divisible by a specified number N

easy
43

Print String Till Character In Python

Print a substring from the beginning of a given string until a specified character is encountered.

easy
43

Odd Integers In Range Program in Python

Print all odd integers between two given integers, excluding the boundaries.

easy
43

Combine Two Tables

Write an SQL query to join Person and Address tables and retrieve personal information with corresponding address details.

easy
42

Mirror of L Pattern

Print a pattern where each line shows repeated characters from the start of the string followed by the remaining characters

medium
42

String X-Pattern

Print a string in an X pattern using the characters from the string on the diagonals and asterisks elsewhere

medium
42

Pattern Printing – Half Pyramid Numbers

Print a half pyramid pattern using numbers from 1 to N where each row contains consecutive numbers starting from 1

easy
43

Meeting Late Comers In Python

Count the number of people who arrived late to a meeting that started at 10:00 AM

easy
44

A Sober Walk – TCS NQT Question 1

Calculate the final position of a person who starts at origin and moves in a spiral pattern with increasing distances

easy
43

Second Largest Value among N integers

Find and print the second largest integer from a list of N integers.

easy
43

Program to Find the nth term of the series

Find the Nth term in a mixed geometric series where odd positions follow powers of 2 and even positions follow powers of 3.

easy
42
PrevPage 8 of 18Next