<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Min-Heap on Python Exercises</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/tags/min-heap/</link><description>Recent content in Min-Heap on Python Exercises</description><generator>Hugo</generator><language>fa-ir</language><lastBuildDate>Sat, 06 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://amirmahdikahdouii.github.io/Python-Exercises/tags/min-heap/index.xml" rel="self" type="application/rss+xml"/><item><title>کم‌یاب — کوچکترین عضو</title><link>https://amirmahdikahdouii.github.io/Python-Exercises/problems/065-set-minimum-queries/</link><pubDate>Sat, 06 Jun 2026 00:00:00 +0000</pubDate><guid>https://amirmahdikahdouii.github.io/Python-Exercises/problems/065-set-minimum-queries/</guid><description>&lt;p&gt;&lt;strong&gt;#065&lt;/strong&gt; · &lt;strong&gt;Set Minimum Queries&lt;/strong&gt; · &lt;code&gt;data-structures&lt;/code&gt; · &lt;code&gt;easy&lt;/code&gt; · &lt;code&gt;python&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/Amirmahdikahdouii/Python-Exercises/blob/master/problems/065-set-minimum-queries/solution.py"&gt;مشاهده راه‌حل در GitHub&lt;/a&gt;&lt;/p&gt;
&lt;hr&gt;
&lt;h1 id="کم-یاب"&gt;کم یاب:&lt;/h1&gt;
&lt;p&gt;یک مجموعه به نام S داریم که در ابتدا خالی است. ما دو نوع درخواست رو به برنامه ارسال میکنیم که مثل زیر هستند:&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;درخواست اول:&lt;/strong&gt;
توی این درخواست ما &lt;code&gt;?&lt;/code&gt; رو به عنوان ورودی ارسال میکنیم و باید کوچک ترین عضو مجموعه رو به ما خروجی بدین، اگه مجموعه خالی بود عبارت &lt;code&gt;EMPTY&lt;/code&gt; خروجی داده بشه.&lt;/p&gt;</description></item></channel></rss>