All Problems

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

215
Total Problems
215 results

Triangle Count from Array Program In Python

Count the number of valid triangles that can be formed from an array of integers where the sum of any two sides must be greater than the third side.

medium
426

Count the Ships

Count the number of ships in an N×N grid where ships are connected '#' cells in any of 8 directions

medium
437

Grooving Monkeys – TCS CodeVita

Find the minimum number of seconds after which all monkeys return to their initial positions based on a given permutation pattern.

hard
429

Largest Integer

Build the largest possible integer by drawing digits from vertical chutes, removing one digit at a time from any chute

medium
426

New Line – Repeated Characters

Split a string into substrings at positions where characters occur repeatedly

medium
421

Python Program To Find Sub-strings at least K vowels

Find and print all unique substrings containing at least K vowels in sorted order

medium
424

Number of Ways to Reach Score

Calculate the number of distinct ways to reach a target score using moves of 3, 5, or 10 points.

medium
424

Reversed Sum of Pairs

Print the sum of every two consecutive elements in an array starting from the end

easy
423

Decreasing String in Center – Pattern

Print a pattern where a string is displayed with characters removed from the center in each subsequent line, replaced by asterisks.

medium
422

Dole Out Cadbury – TCS CodeVita

Count the total number of students who can receive Cadbury chocolates by distributing the largest possible square pieces from all chocolate bars in a given size range.

medium
445

Maximum by Single Digit Replacement

Find the maximum possible value of integer M by replacing exactly one digit in M with any digit from integer N

medium
433

Product of Matrix and it's Transpose Program In Python

Generate a 4x4 matrix following specific rules and compute the element-wise product of the matrix with its transpose

medium
424
PrevPage 12 of 18Next