💡 Community Tasks

Tasks created by learners. Solve them or add your own!

+ Add Task

Found: 328 tasks

C++ easy Strings
Counting vowels in a string
Write a program that reads a string of text and counts the number of vowel letters (a, e, i, o, u) in it. The case of th…
✅ 0 solved 📅 2026-05-11
PHP medium Loops
Sum of odd numbers in matrix rows
Given a square matrix of size N x N. It is required to calculate the sum of odd elements in each row of the matrix. If t…
✅ 0 solved 📅 2026-05-11
Java easy Strings
Line censorship: substring replacement
Write a program that takes a string and two words. It is necessary to replace all occurrences of the first word in the i…
✅ 0 solved 📅 2026-05-11
Go hard Slices
Minimum sum after rearranging elements in a slice
Given an integer slice of length N. It is allowed to rearrange the elements of the slice in any order. It is necessary t…
✅ 0 solved 📅 2026-05-11
Python hard Strings
Decoding chains with repetitions
Given an encoded string consisting of Latin alphabet letters (a-z) and digits (0-9). The encoding follows the rule: if a…
✅ 0 solved 📅 2026-05-11
Java hard Arrays
Maximum subarray sum with one element deletion
Given an integer array. It is necessary to find the maximum sum of a subarray (continuous sequence of elements) provided…
✅ 0 solved 📅 2026-05-11
Rust medium Iterators
Sequence Generator with Filtering and Transformation
Write a Rust program that reads an integer N, then N pairs of numbers (a_i, b_i) separated by spaces. Using iterators, f…
✅ 0 solved 📅 2026-05-11
C++ hard Arrays
Maximum length of subarray with unique elements after K replacements
Given an array of integers. It is allowed to replace at most K elements of the array with any other integers (possibly n…
✅ 0 solved 📅 2026-05-11
TypeScript medium Async
Asynchronous order processing with timeout
Write an asynchronous function `processOrders` that takes an array of order objects (each with fields `id: number` and `…
✅ 0 solved 📅 2026-05-11
JavaScript easy Strings
Counting vowels in a string
Write a program that takes a string and counts the number of vowel letters (a, e, i, o, u) in it. The case of the letter…
✅ 0 solved 📅 2026-05-11
PHP easy Strings
Counting words in a string
Write a program that takes a string and counts the number of words in it. A word is considered a sequence of characters …
✅ 0 solved 📅 2026-05-11
Swift medium Protocols
Protocols for shapes: calculating area and perimeter
Implement the Shape protocol with methods area() -> Double and perimeter() -> Double. Create structures Circle (property…
✅ 0 solved 📅 2026-05-11
Kotlin medium Lambdas
Filtering and transforming a list using lambda expressions
Write a program in Kotlin that reads an integer N, then N lines. Each line contains an integer and a word separated by a…
✅ 0 solved 📅 2026-05-11
PHP hard Arrays
Maximum sum of a subarray with cyclic shift
Given an array of integers, find the maximum sum of a subarray (contiguous sequence of elements) after applying exactly …
✅ 0 solved 📅 2026-05-11
C# easy Delegates
Doubling a number using a delegate
Write a program that uses a delegate to double an integer. Define a delegate that takes an integer and returns an intege…
✅ 0 solved 📅 2026-05-11
C++ medium STL
20. Sequence compression using std::map and std::vector
Given a sequence of integers. It is necessary to perform compression of the sequence: replace each number with its ordin…
✅ 0 solved 📅 2026-05-11
Go medium Interfaces
Interface for geometric shapes
Implement the Shape interface, which contains the Area() float64 method. Create the Circle and Rectangle structures that…
✅ 0 solved 📅 2026-05-11
Python medium Classes
Task management system with priorities
Create a class `Task` with attributes: `title` (string), `priority` (integer from 1 to 5), `completed` (boolean, default…
✅ 0 solved 📅 2026-05-11
JavaScript hard Arrays
Search for the maximum sum of a subarray with unique elements
Given an array of integers, find the maximum sum of a contiguous subarray in which all elements are unique (no repetitio…
✅ 0 solved 📅 2026-05-11
Rust easy Traits
Here is the translation of the programming task text from Russian to English: Trait for calculating the area of shapes
Implement the Area trait with an area method that returns the area of a shape as f64. Define the structures Circle (radi…
✅ 0 solved 📅 2026-05-11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17