Vowel Expansion
Expand a string by inserting additional vowels next to each existing vowel based on specific rules (a/A: 1 extra, e/E: 2 extra, i/I: 3 extra, o/O: 4 extra, u/U: 5 extra)
Choose your challenge. Start easy and work your way up.
Expand a string by inserting additional vowels next to each existing vowel based on specific rules (a/A: 1 extra, e/E: 2 extra, i/I: 3 extra, o/O: 4 extra, u/U: 5 extra)
Calculate the discounted price based on predefined slabs and their corresponding discount percentages
Given a string with multiple words, print words up to and including the word with the most consonants (or the last such word if tied).
Count the number of substrings in a digit string where no two consecutive digits are identical.
Remove duplicate characters from a string while preserving the order of their first occurrence
Calculate the Greatest Common Divisor (GCD) of N integers using Python, with efficient input handling and output formatting.
Find the longest string formed by traversing diagonally from a given cell in a matrix
Find the highest jersey number in each team when students are divided into teams of size T with remaining students distributed round-robin
Toggle the case of consonants that are adjacent to vowels in a given string.
Print all even numbers in a given range using a custom class
Determine if a given integer is odd or even and print the corresponding result.