All Problems

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

215
Total Problems
215 results

S1 Contains S2 In Python

Determine if the characters of string S2 appear in the same relative order within string S1

medium
43

Form String by Rotation

Determine if one string can be obtained by rotating another string

medium
43

Infinite Sequence Nth Digit

Find the Nth digit in the infinite sequence formed by concatenating positive integers starting from 1.

medium
42

Morse Code – Words

Decode a message from Morse code represented by consecutive 1's where each group corresponds to a letter of the alphabet

easy
44

First and Last X Digits

Extract and print the first X digits and last X digits from a given number N

easy
42

Function findMinimum – CTS PATTERN

Fix the logical error in the given code to correctly find the minimum value in an integer array

easy
43

Python Program To Check Triplet Sum

Count the number of unique triplets in an array that sum to a given target value S.

medium
43

Swap Integers – Equal Sum Matrices

Determine if swapping corresponding elements between two matrices can equalize their sums

medium
42

Relatives Meeting

Count the number of relatives in the same group as a given person based on relationship pairs

medium
42

Sum of even numbers from M to N

Calculate the sum of all even numbers within a given range from M to N (inclusive).

easy
42

Function matrixSum – CTS PATTERN

Fix syntax errors in the matrixSum function to correctly calculate the sum of all elements in a 2D matrix stored as a 1D array

easy
43

Team Formation

Find the maximum number of perfect teams that can be formed with at least one coder, one mathematician, and exactly three members

medium
43
PrevPage 14 of 18Next