💡 Community Tasks

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

+ Add Task

Found: 328 tasks

Rust medium Vectors
Intersection of intervals in vectors
Given two vectors containing non-overlapping and ascending sorted intervals. Each interval is represented by a pair of i…
✅ 0 solved 📅 2026-05-11
TypeScript hard Strings
The longest substring without repeating characters, case-sensitive and including digits
Given a string consisting of Latin letters (uppercase and lowercase) and digits. It is necessary to find the length of t…
✅ 0 solved 📅 2026-05-11
Python hard Lists
Analysis of permutations considering inversions and gaps
Given a permutation of numbers from 1 to n. It is required to determine whether it is "almost identity": the number of i…
✅ 0 solved 📅 2026-05-11
C++ hard Strings
Intersection of minimal cyclic shifts
Given two strings s and t, consisting of lowercase Latin letters. It is necessary to find the length of the longest comm…
✅ 0 solved 📅 2026-05-11
PHP easy Loops
Sum of squares of even numbers from 1 to N
Write a program that takes a positive integer N and calculates the sum of squares of all even numbers from 1 to N inclus…
✅ 0 solved 📅 2026-05-11
C# medium Arrays
Search for the maximum sum of a subarray with permutations
Given an array of integers. You are allowed to perform at most one operation: choose two elements of the array and swap …
✅ 0 solved 📅 2026-05-11
JavaScript hard Strings
Here is the translation of the programming task text from Russian to English: String compression with recovery using the rule of repeating segments
Given a string consisting of Latin letters and digits. The string represents a compressed format: each digit indicates h…
✅ 0 solved 📅 2026-05-11
Kotlin medium Lists
Grouping even and odd indices of a list
Write a program that takes a list of integers, splits it into two sublists: elements with even indices (0, 2, 4...) and …
✅ 0 solved 📅 2026-05-11
Java hard Strings
Minimum distance between repeating substrings
Given a string S consisting of lowercase Latin letters. It is necessary to find the minimum distance between the startin…
✅ 0 solved 📅 2026-05-11
PHP hard Strings
Search for substrings with palindromic shift
Given a string S consisting of lowercase Latin letters. It is necessary to find all unique substrings of length K that b…
✅ 0 solved 📅 2026-05-11
TypeScript medium Arrays
Search for a pair with a given sum in a sorted array
Given a sorted array of integers in ascending order and a target sum, it is necessary to find two distinct elements of t…
✅ 0 solved 📅 2026-05-11
Swift medium Arrays
Removing duplicates from a sorted array
Given a non-decreasing sorted array of integers, you need to remove all duplicates so that each element appears at most …
✅ 0 solved 📅 2026-05-11
Python medium Strings
Search for the longest substring without repeating characters
Given a string `s` consisting of lowercase Latin letters. Find the length of the longest substring in which all characte…
✅ 0 solved 📅 2026-05-11
Go medium Slices
Merge two sorted slices with duplicate removal
Given two slices of integers sorted in ascending order. Merge them into one sorted slice, removing all duplicates. Imple…
✅ 0 solved 📅 2026-05-11
C++ medium Arrays
Remove duplicates from a sorted array with a limit on the number of repetitions
Given a non-decreasing sorted integer array. It is necessary to remove duplicates so that each element appears at most t…
✅ 0 solved 📅 2026-05-11
Rust easy Iterators
Sum of squares of even numbers
Write a Rust program that reads a sequence of integers separated by spaces and uses iterators to find the sum of squares…
✅ 0 solved 📅 2026-05-11
C# easy Async
Asynchronous calculation of the sum of squares
Write an asynchronous program in C# that reads an integer N, then N integers. For each number, asynchronously compute it…
✅ 0 solved 📅 2026-05-11
Swift easy Protocols
Protocol for geometric shapes
Create a protocol Shape with the following requirements: a property area of type Double (read-only) and a method descrip…
✅ 0 solved 📅 2026-05-11
Java medium Arrays
Search for a subarray with maximum sum (Kadane's algorithm)
Given an array of integers, find the subarray (continuous sequence of elements) with the maximum sum. Output this sum. I…
✅ 0 solved 📅 2026-05-11
Kotlin easy Lambdas
Filtering a list by string length
Write a program that reads an integer N, then reads N lines. Using a lambda expression, filter out lines whose length is…
✅ 0 solved 📅 2026-05-11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17