Difficulty Levels

Choose your challenge. Start easy and work your way up.

215
Total Problems

Toggle Bit to Check Multiple of 5 in Binary Representation

Check if a binary number can become a multiple of 5 by toggling exactly one bit

mediumBit Manipulation
47

Print Largest Even Number – Digits

Find the largest possible even number that can be formed using all the digits from a given number.

medium
45

Longest Non-Overlapping Prefix Suffix

Find the longest prefix of a string that is also a suffix, ensuring they do not overlap.

medium
45

Expand Alphabets

Given a string containing alternating alphabets and their counts, expand each alphabet by repeating it according to its count.

medium
47

Longest Increasing Subset – From Last

Find the longest strictly increasing subsequence starting from the end of the array, with ties broken by first occurrence

medium
43

Asterisks – X Inner Layers

Replace characters in the X inner layers of an NxN matrix with asterisks

medium
45

Parking Charges

Calculate the number of vehicles parked beyond a specific time and those charged above a certain amount based on complex parking fee rules.

medium
43

String Compression

Compress a string by encoding consecutive character sequences into character-count pairs

medium
45

Increment & Decrement Triangle Pattern

Print a triangle pattern where each line contains hyphens and integers in an incrementing and decrementing sequence, with 0 at the center.

medium
44

Minimum Cost – Land Acquisition

Find the minimum cost for the government to acquire lands for road construction by selecting at most one building per row

medium
44

Immediate Previous Larger Number

Find the nearest previous number that is larger than each number in a sequence.

medium
46

Four Players Score Combination

Count the number of combinations of exactly 4 players whose total runs scored is greater than or equal to 100.

medium
44
PrevPage 8 of 9Next