FOCUS-ASTU-TECH-COMMUNITY-CONTEST-3
Hello everyone!
Welcome to the editorial for our mashup contest. We selected a mix of Arrays, HashMaps, Math, Strings, Sliding Window and Prefix Sum problems. The goal was to strengthen logical thinking and problem-solving skills without getting bogged down in complex data structures.
Below you will find hints, tutorials, and solutions for each problem. We used spoiler tags to keep things clean. Try to solve it yourself before clicking!
Happy coding!
Problem-A:688129A - Yes-Yes?
Tags: implementation strings
Difficulty: ⭐️ (Very Easy)
This is a simple pattern-checking problem that tests your understanding of strings and substrings.
Problem-B:688129B - Twice
Tags: implementation math
Difficulty: ⭐️ (Very Easy)
This is a very simple counting problem.
Problem-C:688129C - Odd Selection
Tags: brute force implementation math sliding window
Difficulty: ⭐️⭐️ (Easy)
This is a parity-based selection problem that can be solved using counting and simple constraints.
Problem-D:688129D - Ilya and Queries
Tags: implementation data structures DP prefix sum
Difficulty: ⭐️⭐️⭐️ (Medium)
This is a classic prefix sum problem that allows answering range queries efficiently.
Problem-E:688129E - Karen and Coffee
Tags: implementation data structures prefix sum binary search
Difficulty: ⭐️⭐️⭐️ (Medium)
This is a prefix sum + difference array problem that efficiently handles range updates and queries.








Auto comment: topic has been updated by gemechualemu (previous revision, new revision, compare).