C++
medium
Pointers
Sorting an array of pointers to structures
Given a structure `Person` with fields `name` (string) and `age` (integer). Create an array of pointers to `Person` stru…
✅ 0 solved
📅 2026-05-11
Swift
medium
Functions
Function for finding a peak in an array
Write a function that takes an array of integers and returns the index of the peak. A peak is considered an element that…
✅ 0 solved
📅 2026-05-11
Kotlin
easy
Loops
Sum of squares of numbers from 1 to N
Write a program that reads a positive integer N and calculates the sum of squares of all integers from 1 to N inclusive.…
✅ 0 solved
📅 2026-05-11
Rust
easy
Loops
Sum of even numbers from 1 to N
Write a program that reads a positive integer N (N ≥ 1) from the keyboard and outputs the sum of all even numbers from 1…
✅ 0 solved
📅 2026-05-11
Java
medium
Classes
Class for managing a bank account with transaction history
Create a class `BankAccount` that stores a balance and a list of transactions. Implement the following methods: `deposit…
✅ 0 solved
📅 2026-05-11
C#
easy
Loops
Sum of squares of numbers from 1 to N
Write a program that reads a positive integer N and calculates the sum of squares of all integers from 1 to N inclusive.…
✅ 0 solved
📅 2026-05-11
JavaScript
medium
Loops
Sorting by the last digit
Write a program that reads an array of integers and sorts it in ascending order by the last digit of each number. If the…
✅ 0 solved
📅 2026-05-11
Python
easy
Dictionaries
Counting Student Grades
Write a program that takes as input a list of students with their grades in a subject. For each student, their name and …
✅ 0 solved
📅 2026-05-11
Go
easy
Strings
Anagram check
Write a program that takes two strings and determines whether they are anagrams (i.e., contain the same characters in th…
✅ 0 solved
📅 2026-05-11
Kotlin
hard
Strings
Decoding a cyclic shift of a string with a repeating pattern
Given an encoded string obtained from the original string by cyclically shifting it left by some number K (0 ≤ K < lengt…
✅ 0 solved
📅 2026-05-11
Rust
hard
Strings
String compression using the rule of consecutive groups
Given a string consisting of lowercase Latin letters. It is necessary to implement a string compression algorithm: if a …
✅ 0 solved
📅 2026-05-11
C++
easy
Loops
Sum of numbers from 1 to N
Write a program that reads a positive integer N and calculates the sum of all integers from 1 to N inclusive. Use a for …
✅ 0 solved
📅 2026-05-11
PHP
medium
Functions
Function for checking bracket balance
Write a function isBalanced that takes a string containing only the characters '(', ')', '{', '}', '[', ']', and determi…
✅ 0 solved
📅 2026-05-11
Swift
easy
Loops
Sum of squares of numbers from 1 to N
Write a program that takes a positive integer N as input and calculates the sum of squares of all integers from 1 to N i…
✅ 0 solved
📅 2026-05-11
TypeScript
easy
Loops
Sum of numbers in a range
Write a program that reads two integers A and B (A ≤ B) and outputs the sum of all integers from A to B inclusive. It is…
✅ 0 solved
📅 2026-05-11
C#
hard
Strings
Search for the minimum window containing all characters from the pattern string
Given two strings: s and t. It is necessary to find the minimum substring (window) in s that contains all characters fro…
✅ 0 solved
📅 2026-05-11
JavaScript
easy
Objects
Filtering objects by age
Write a program that receives a string with objects in JSON format as input. Each object contains the fields "name" (str…
✅ 0 solved
📅 2026-05-11
Go
hard
Maps
Search for the shortest path in a graph with variable weights
Given an undirected weighted graph of N vertices and M edges. Edge weights can change over time: for each edge, an initi…
✅ 0 solved
📅 2026-05-11
Java
easy
Loops
Sum of numbers up to zero
Write a program that reads integers from the keyboard. The program should sum all entered numbers until the number 0 is …
✅ 0 solved
📅 2026-05-11
Swift
hard
Strings
Decryption of cyclic string shift
Given an encrypted string S consisting of lowercase Latin letters. It was obtained from the original string T by a cycli…
✅ 0 solved
📅 2026-05-11