💡 Community Tasks

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

+ Add Task

Found: 328 tasks

Kotlin medium Loops
Search for the maximum sum of a fixed-length subarray
Write a program that takes an integer n, then n integers, and an integer k (1 ≤ k ≤ n). It is necessary to find the maxi…
✅ 0 solved 📅 2026-05-11
Python medium Dictionaries
Sales Analysis: Average Price by Category
Here is the translation of the programming task text from Russian to English: A shopping list is given in the format 'c…
✅ 0 solved 📅 2026-05-11
Go medium Strings
Counting Unique Substrings with Length Constraint
Write a Go program that takes a string and an integer K. It is necessary to count the number of unique substrings (conti…
✅ 0 solved 📅 2026-05-11
JavaScript hard Loops
Cyclic shift of the matrix by k positions to the right
Given a rectangular matrix of integers of size N x M. It is necessary to perform a cyclic shift of each row of the matri…
✅ 0 solved 📅 2026-05-11
TypeScript easy Strings
Removing Extra Spaces
Write a program that takes a string containing words separated by one or more spaces. It is necessary to remove extra sp…
✅ 0 solved 📅 2026-05-11
PHP hard Functions
Function for calculating the maximum sum of a subarray with a length constraint
Write a function `maxSubarraySum` that takes an array of integers (positive and negative) and an integer `k`. The functi…
✅ 0 solved 📅 2026-05-11
Rust easy Strings
Counting vowels and consonants
Write a program that reads a string of text and counts the number of vowels and consonants in the Russian alphabet. The …
✅ 0 solved 📅 2026-05-11
Kotlin easy Strings
Counting vowels in a string
Write a program that reads a string and counts the number of vowel letters (a, e, e, i, o, u, y, e, yu, ya) in it. The c…
✅ 0 solved 📅 2026-05-11
C# 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 distinct. If there a…
✅ 0 solved 📅 2026-05-11
Swift easy Strings
Palindrome Check
Given a string. It is necessary to check whether it is a palindrome. A palindrome is a string that reads the same from l…
✅ 0 solved 📅 2026-05-11
Java medium Loops
Sum of digits of all numbers from 1 to N
Write a program that calculates the sum of digits of all numbers from 1 to N inclusive. For example, for N=11, the sum o…
✅ 0 solved 📅 2026-05-11
C++ medium Loops
Sum of squares of prime numbers in the interval
Given two integers A and B (1 ≤ A ≤ B ≤ 10000). Find the sum of squares of all prime numbers in the interval [A, B]. A p…
✅ 0 solved 📅 2026-05-11
Go easy Maps
Counting repeated words in a text
Write a program that reads a line of text and counts the number of occurrences of each word in that line. Words are sepa…
✅ 0 solved 📅 2026-05-11
TypeScript hard Arrays
Maximum Subarray Sum with Permutations
Given an array of integers, find the maximum subarray sum that can be obtained by performing at most one swap of any two…
✅ 0 solved 📅 2026-05-11
Rust hard Vectors
Search for the maximum sum of a subarray with a length constraint
Given an integer vector and a number k. Find the maximum sum of any subarray of length at most k. If there are multiple …
✅ 0 solved 📅 2026-05-11
JavaScript medium Objects
Updating orders with status change
Given an array of order objects. Each order contains fields: id (number), status (string), items (array of strings). It …
✅ 0 solved 📅 2026-05-11
Kotlin hard Lists
Maximum Subarray Sum with Skips
Given a list of integers. It is necessary to find the maximum sum of a subarray (continuous sequence of elements), provi…
✅ 0 solved 📅 2026-05-11
Python easy Lists
Output of squares of list elements
Write a program that takes a list of integers and outputs a new list containing the squares of each element. The input d…
✅ 0 solved 📅 2026-05-11
Swift hard Arrays
Maximum Subarray Sum with Permutations
Given an array of integers. It is allowed to perform at most one operation: choose any subarray and rearrange its elemen…
✅ 0 solved 📅 2026-05-11
C# medium Async
Asynchronous file search by pattern
Write an asynchronous program that takes a root directory and a file name pattern (with support for '*' and '?') as inpu…
✅ 0 solved 📅 2026-05-11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17