💡 Community Tasks

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

+ Add Task

Found: 328 tasks

Java medium Streams
Transaction statistics using Stream API
Given a list of strings, each string contains information about a transaction: transaction ID, amount (double), and cate…
✅ 0 solved 📅 2026-05-11
TypeScript easy Types
Determining the type of triangle by its sides
Write a program that takes three integers representing the lengths of the sides of a triangle and determines its type: e…
✅ 0 solved 📅 2026-05-11
Kotlin easy Extensions
Extension for case-insensitive substring search
Write an extension function for the String class called `containsIgnoreCase`, which takes another string and returns `tr…
✅ 0 solved 📅 2026-05-11
C# hard Generics
Generalized cache with priority and time-to-live
Implement a generic class Cache that stores items with a specified time-to-live (TimeToLive) and priority (int). When ad…
✅ 0 solved 📅 2026-05-11
Swift easy Structs
Book Structure and Information Output
Create a structure Book with fields title (String), author (String) and year (Int). Write a program that reads three lin…
✅ 0 solved 📅 2026-05-11
PHP medium Json
Analysis of JSON server logs
Write a PHP program that reads from standard input a JSON string containing an array of server log objects. Each object …
✅ 0 solved 📅 2026-05-11
JavaScript medium Promises
Promise with timer and error handling
Write a function `processWithTimeout` that takes an array of numbers and returns a promise. The promise should resolve w…
✅ 0 solved 📅 2026-05-11
C++ easy Recursion
Recursive calculation of the sum of digits of a number
Write a recursive function that takes a non-negative integer and returns the sum of its digits. Use recursion, not loops…
✅ 0 solved 📅 2026-05-11
TypeScript hard Algorithms
Merge sort with inversion counting
Given an array of integers, it is necessary to sort it in ascending order using merge sort, and also to count the number…
✅ 0 solved 📅 2026-05-11
Kotlin hard Algorithms
Merge sort with memory constraint
Given an array of integers, it is necessary to sort it in ascending order using only O(1) extra memory (i.e., without us…
✅ 0 solved 📅 2026-05-11
Go easy Structs
Here is the translation of the programming task text from Russian to English: Structure Point and calculating distance from the origin
Create a structure Point with fields X and Y (type float64). Write a function DistanceFromOrigin that takes a Point and …
✅ 0 solved 📅 2026-05-11
Rust hard Algorithms
Sorting by frequency while preserving order
Given an array of integers, it is necessary to sort it in descending order of the frequency of occurrence of elements. I…
✅ 0 solved 📅 2026-05-11
Python easy Arrays
Unique elements in a list
Given a natural number N, followed by N integers. It is required to output the number of unique numbers in the entered l…
✅ 0 solved 📅 2026-05-11
Java easy Generics
Generic method for finding the maximum in an array
Implement a generic method maxElement that takes an array of elements of type T (where T extends Comparable) and returns…
✅ 0 solved 📅 2026-05-11
C++ hard Vectors
Vector magic: removing duplicates while preserving order
Given a vector of integers. It is necessary to remove all duplicates from it, leaving only the first occurrence of each …
✅ 0 solved 📅 2026-05-11
Swift hard Algorithms
Sorting by frequency while preserving order
Given an array of integers. Sort it in descending order of the frequency of occurrence of elements. If two elements have…
✅ 0 solved 📅 2026-05-11
JavaScript easy Arrays
Duplicate Check in an Array
Write a function that takes an array of numbers and determines whether it contains duplicates. If the array has at least…
✅ 0 solved 📅 2026-05-11
TypeScript medium Math
Sum of prime numbers in a range
Given two natural numbers A and B (A …
✅ 0 solved 📅 2026-05-11
Go hard Algorithms
Merge sort for linked lists
Given a singly linked list consisting of integers. It is necessary to implement merge sort for this list. Input data: th…
✅ 0 solved 📅 2026-05-11
Rust medium Math
Quadratic residues modulo a prime number
Given a prime number p (p > 2) and an integer a (0 ≤ a < p). It is necessary to determine whether a is a quadratic resid…
✅ 0 solved 📅 2026-05-11
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17