Select a problem to view its details and submit your solution.

Difficulty

20 problems

Hello World

Return the string "Hello World".

Count Vowels In A String

Count the number of vowels in a given string.

Digi-sum

Sum all the digits of an integer.

Enversi Tirsf Dna Tasl

Inverse the first and last characters of each word in a string.

Greatest Odd Number

Given a list of numbers, find the greatest odd number.

Most Frequent Letter Count

Determine the frequency of the most common letter in a string.

Reverse Words

Reverse the order of words in a sentence.

Sum of Squares of Even Numbers

Print the sum of the squares of the even numbers.

Caps Lock Swap

Swap the "r" key with the caps lock key.

Concatenate Unique Characters

Create a string concatenating the unique characters from multiple strings.

Repeat Jugly

Repeat the word "Jugly" the same number of times as the length of the word, like a mask.

Alphabet Symmetry

Determines the number of letters in a word that match their alphabetical position.

Morse Code Translator

Translate a string into morse code.

That's A Lot Of Text

Simply output the 5 paragraphs of the classic Lorem Ipsum.

Missing From Sequence

Find the missing number from a sequence of numbers.

Rectangles Total Area

Find the total area covered by a list of rectangles.

Missing Letters

Which letter of the alphabet is missing from the given string?

Character Frequency Sort

Sort a string by the frequency of each character.

Run-Length Encoding

Compress strings by replacing sequences of identical characters with that character followed by a count.

Intersection Sum

Sum the intersection of two integer arrays.

12 problems

Longest Common Prefix

Find the longest common prefix string amongst an array of strings.

Minimal Path Sum

Find the minimal path sum from the top left to the bottom right of a 2D grid by only moving right or down.

Minimum Unique Array Sum

Given an array of integers, increment any duplicate elements until all elements are unique.

Island Counter

Count the number of 1s islands in a matrix of 0s and 1s.

Second Unique Maximum Difference

Find the second largest unique difference between any two numbers in an array.

Peaks And Lows

Find the peaks and lows in a given array of integers.

Longest Palindrome Substring

Find the longest palindromic substring of a given string.

Wavy String

Generate a wave pattern based on a string

Roman To Integer

Convert a roman numeral to an integer.

Un Ascii Art

Find the number represented by the ASCII art.

Bowling Scoring

Calculate the score of a bowling game.

Reverse Polish Notation

Evaluate the value of an arithmetic expression in Reverse Polish Notation.

© 2024 Corentin Thomasset