NOIP Simulation Contest - Problem Solutions and Reflections

Overview This contest proved challenging despite seemingly moderate difficulty. The overall rating leans toward green to purple, but the execution was frustrating. T1 cost me significant points due to rushing through it—225 dropped to 175 points. Strategic lesson: even when T1 appears simple, allocating proper time (up to 1.5 hours is reasonabl ...

Posted on Wed, 08 Jul 2026 17:41:04 +0000 by x01440

Stack and Queue Applications: Reverse Polish Notation, Sliding Window Maximum, and Top K Frequent Elements

Problem Solving Framework Define input and output specifications Analyze time and space complexity Decompose complex problems: Break down into smaller, solvable subproblems (stack and queue operations, variations of stack/queue applications) – (Focus on patttern recognition) Select appropriate algorithms: Based on decomposed subproblems, choos ...

Posted on Mon, 22 Jun 2026 16:26:29 +0000 by mitcho

Efficient Sorting and Merging with Heap Data Structures

Heap Data Structure Implementation Heaps are specialized tree-based data structures that satisfy the heap property. They are commonly used to implement priority queues and for efficient sorting algorithms. This article explores two practical applications of heaps: heap sort and sequence merging. Heap Sort Implemantation Heap sort is an efficien ...

Posted on Thu, 18 Jun 2026 16:37:37 +0000 by Eddie Fisher

Dijkstra Algorithm Implementation Guide

Dijkstra Algortihm: O(n²) Approach Dijkstra's algorithm solves the single-source shortest path problem for graphs with non-negative edge weights. It efficiently computes the minimum distance from a starting vertex to all other vertices using a greedy approach. Algorithm Overview Initialization: Set the source distance to 0 and all other vertic ...

Posted on Tue, 26 May 2026 18:58:39 +0000 by benyamin