💡 Community Tasks

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

+ Add Task

Found: 328 tasks

PHP hard Loops
Search for the maximum subarray sum with a length condition in a circular array
Given a cyclic integer array of length N (N ≤ 10^5). Find the maximum sum of a contiguous subarray of length at least L …
✅ 0 solved 📅 2026-05-11
Kotlin hard Loops
Search for the maximum subarray sum after a cyclic shift
Given an array of integers. It is allowed to perform exactly one cyclic shift to the left (the first element becomes the…
✅ 0 solved 📅 2026-05-11
TypeScript hard Loops
Search for the maximum subarray sum considering negative elements and cyclic shift
Given an array of integers, find the maximum sum of a subarray (contiguous sequence of elements) after performing at mos…
✅ 0 solved 📅 2026-05-11
Swift hard Loops
Search for the maximum path in a number triangle
Given a triangle of integers. Find the maximum sum of numbers on a path from the top to the base, moving each step one r…
✅ 0 solved 📅 2026-05-11
C++ hard Loops
Gray Code: Cyclic Shift and XOR
Given an integer N (1 ≤ N ≤ 20). Generate a sequence of 2^N numbers representing the Gray code for numbers from 0 to 2^N…
✅ 0 solved 📅 2026-05-11
Rust hard Loops
Cyclic shift of a matrix with maximization of the diagonal sum
Given a square matrix of integers of size N x N. In one move, you can cyclically shift any row left or right by an arbit…
✅ 0 solved 📅 2026-05-11
Go medium Maps
Frequency analysis of words in a text
Write a program that reads text from multiple lines, counts the frequency of each word (case-insensitive), and outputs t…
✅ 0 solved 📅 2026-05-11
Python medium Lists
Search for a pair with the maximum sum in a list
Given a list of integers, find two different elements of the list (with different indices) whose sum is maximum. If ther…
✅ 0 solved 📅 2026-05-11
Kotlin medium Strings
Removing duplicate characters while preserving order
Write a program that takes a string containing only lowercase Latin letters and removes all duplicate characters from it…
✅ 0 solved 📅 2026-05-11
C# medium Strings
Checking the balance of parentheses in a string
Given a string containing the characters '(' and ')', as well as other characters. It is necessary to check whether the …
✅ 0 solved 📅 2026-05-11
Rust medium Strings
Counting vowels in strings with palindrome check
Write a program that takes a string and counts the number of vowel letters (a, e, i, o, u, y) in it, ignoring case. Then…
✅ 0 solved 📅 2026-05-11
TypeScript medium Strings
Substring access by indices
Given a string S and two integers a and b (indices). It is necessary to reverse the substring from index a to b inclusiv…
✅ 0 solved 📅 2026-05-11
JavaScript medium Strings
Removing duplicate characters while preserving order
Given a string consisting of lowercase Latin letters. It is necessary to remove all duplicate characters, leaving only t…
✅ 0 solved 📅 2026-05-11
Java medium Strings
Search for the longest palindromic substring in a string
Given a string consisting of lowercase Latin letters. Find and output the longest subpalindrome (a substring that reads …
✅ 0 solved 📅 2026-05-11
Swift medium Strings
Counting the number of unique substrings
Given a string S consisting of lowercase Latin letters. It is necessary to count the number of distinct substrings in th…
✅ 0 solved 📅 2026-05-11
C++ medium Strings
Search for the longest substring without repeating characters
Given a string consisting of lowercase Latin letters. It is necessary to find the length of the longest substring in whi…
✅ 0 solved 📅 2026-05-11
PHP medium Strings
Search for the longest palindrome in a string
Write a function that takes a string and finds the longest palindromic substring. If there are several, return the first…
✅ 0 solved 📅 2026-05-11
JavaScript easy Arrays
Arithmetic mean of array elements
The input is an array of integers. It is necessary to calculate the arithmetic mean of all elements of the array. If the…
✅ 0 solved 📅 2026-05-11
Swift easy Arrays
Sum of array elements
Given an array of integers. Write a program that calculates the sum of all elements of the array. The array is entered f…
✅ 0 solved 📅 2026-05-11
Rust easy Vectors
Sum of vector elements
Write a program that reads the number of elements and the vector of integers itself, and then calculates the sum of all …
✅ 0 solved 📅 2026-05-11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17