New Line – Repeated Characters
Split a string into substrings at positions where characters occur repeatedly
Choose your challenge. Start easy and work your way up.
Split a string into substrings at positions where characters occur repeatedly
Find and print all unique substrings containing at least K vowels in sorted order
Calculate the number of distinct ways to reach a target score using moves of 3, 5, or 10 points.
Print a pattern where a string is displayed with characters removed from the center in each subsequent line, replaced by asterisks.
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.
Find the maximum possible value of integer M by replacing exactly one digit in M with any digit from integer N
Generate a 4x4 matrix following specific rules and compute the element-wise product of the matrix with its transpose
Count the number of left, right, up, and down movements of a robot navigating from the top-left to the bottom-right of a matrix
Find the minimum number of characters to remove from the left side of two strings so that the remaining parts become equal (case-insensitive).
Find the maximum points a kid can collect while navigating through an M×N matrix where movement is restricted to right, top-right, or bottom-right directions.
Print elements of a matrix in zig zag order starting from the bottom right corner
Print all top-left to bottom-right diagonals from the top-right corner of a given RxC matrix